Text Compare
Produced: 7/19/2015 1:53:42 PM
   
Mode:  All, With Context  
Left file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template09\0718-1345\libtiff-bug-2007-08-24-827b6bc-22da1d6\sanity\libtiff\tif_dirinfo.c  
Right file: C:\mksong\workspace_genproglase\genproglase-output-r1658\template09\0718-1345\libtiff-bug-2007-08-24-827b6bc-22da1d6\000000\libtiff\tif_dirinfo.c  
1 typedef unsigned char __u_char; = 1 typedef unsigned char __u_char;
2 typedef unsigned short __u_short;   2 typedef unsigned short __u_short;
3 typedef unsigned int __u_int;   3 typedef unsigned int __u_int;
4 typedef unsigned long __u_long;   4 typedef unsigned long __u_long;
5 typedef signed char __int8_t;   5 typedef signed char __int8_t;
6 typedef unsigned char __uint8_t;   6 typedef unsigned char __uint8_t;
7 typedef short __int16_t;   7 typedef short __int16_t;
8 typedef unsigned short __uint16_t;   8 typedef unsigned short __uint16_t;
9 typedef int __int32_t;   9 typedef int __int32_t;
10 typedef unsigned int __uint32_t;   10 typedef unsigned int __uint32_t;
11 typedef long long __int64_t;   11 typedef long long __int64_t;
12 typedef unsigned long long __uint64_t;   12 typedef unsigned long long __uint64_t;
13 typedef long long __quad_t;   13 typedef long long __quad_t;
14 typedef unsigned long long __u_quad_t;   14 typedef unsigned long long __u_quad_t;
15 typedef __u_quad_t __dev_t;   15 typedef __u_quad_t __dev_t;
16 typedef unsigned int __uid_t;   16 typedef unsigned int __uid_t;
17 typedef unsigned int __gid_t;   17 typedef unsigned int __gid_t;
18 typedef unsigned long __ino_t;   18 typedef unsigned long __ino_t;
19 typedef __u_quad_t __ino64_t;   19 typedef __u_quad_t __ino64_t;
20 typedef unsigned int __mode_t;   20 typedef unsigned int __mode_t;
21 typedef unsigned int __nlink_t;   21 typedef unsigned int __nlink_t;
22 typedef long __off_t;   22 typedef long __off_t;
23 typedef __quad_t __off64_t;   23 typedef __quad_t __off64_t;
24 typedef int __pid_t;   24 typedef int __pid_t;
25 struct __anonstruct___fsid_t_1 {   25 struct __anonstruct___fsid_t_1 {
26    int __val[2] ;   26    int __val[2] ;
27 };   27 };
28 typedef struct __anonstruct___fsid_t_1 __fsid_t;   28 typedef struct __anonstruct___fsid_t_1 __fsid_t;
29 typedef long __clock_t;   29 typedef long __clock_t;
30 typedef unsigned long __rlim_t;   30 typedef unsigned long __rlim_t;
31 typedef __u_quad_t __rlim64_t;   31 typedef __u_quad_t __rlim64_t;
32 typedef unsigned int __id_t;   32 typedef unsigned int __id_t;
33 typedef long __time_t;   33 typedef long __time_t;
34 typedef unsigned int __useconds_t;   34 typedef unsigned int __useconds_t;
35 typedef long __suseconds_t;   35 typedef long __suseconds_t;
36 typedef int __daddr_t;   36 typedef int __daddr_t;
37 typedef long __swblk_t;   37 typedef long __swblk_t;
38 typedef int __key_t;   38 typedef int __key_t;
39 typedef int __clockid_t;   39 typedef int __clockid_t;
40 typedef void *__timer_t;   40 typedef void *__timer_t;
41 typedef long __blksize_t;   41 typedef long __blksize_t;
42 typedef long __blkcnt_t;   42 typedef long __blkcnt_t;
43 typedef __quad_t __blkcnt64_t;   43 typedef __quad_t __blkcnt64_t;
44 typedef unsigned long __fsblkcnt_t;   44 typedef unsigned long __fsblkcnt_t;
45 typedef __u_quad_t __fsblkcnt64_t;   45 typedef __u_quad_t __fsblkcnt64_t;
46 typedef unsigned long __fsfilcnt_t;   46 typedef unsigned long __fsfilcnt_t;
47 typedef __u_quad_t __fsfilcnt64_t;   47 typedef __u_quad_t __fsfilcnt64_t;
48 typedef int __ssize_t;   48 typedef int __ssize_t;
49 typedef __off64_t __loff_t;   49 typedef __off64_t __loff_t;
50 typedef __quad_t *__qaddr_t;   50 typedef __quad_t *__qaddr_t;
51 typedef char *__caddr_t;   51 typedef char *__caddr_t;
52 typedef int __intptr_t;   52 typedef int __intptr_t;
53 typedef unsigned int __socklen_t;   53 typedef unsigned int __socklen_t;
54 typedef __u_char u_char;   54 typedef __u_char u_char;
55 typedef __u_short u_short;   55 typedef __u_short u_short;
56 typedef __u_int u_int;   56 typedef __u_int u_int;
57 typedef __u_long u_long;   57 typedef __u_long u_long;
58 typedef __quad_t quad_t;   58 typedef __quad_t quad_t;
59 typedef __u_quad_t u_quad_t;   59 typedef __u_quad_t u_quad_t;
60 typedef __fsid_t fsid_t;   60 typedef __fsid_t fsid_t;
61 typedef __loff_t loff_t;   61 typedef __loff_t loff_t;
62 typedef __ino64_t ino_t;   62 typedef __ino64_t ino_t;
63 typedef __dev_t dev_t;   63 typedef __dev_t dev_t;
64 typedef __gid_t gid_t;   64 typedef __gid_t gid_t;
65 typedef __mode_t mode_t;   65 typedef __mode_t mode_t;
66 typedef __nlink_t nlink_t;   66 typedef __nlink_t nlink_t;
67 typedef __uid_t uid_t;   67 typedef __uid_t uid_t;
68 typedef __off64_t off_t;   68 typedef __off64_t off_t;
69 typedef __pid_t pid_t;   69 typedef __pid_t pid_t;
70 typedef __id_t id_t;   70 typedef __id_t id_t;
71 typedef __ssize_t ssize_t;   71 typedef __ssize_t ssize_t;
72 typedef __daddr_t daddr_t;   72 typedef __daddr_t daddr_t;
73 typedef __caddr_t caddr_t;   73 typedef __caddr_t caddr_t;
74 typedef __key_t key_t;   74 typedef __key_t key_t;
75 typedef __clock_t clock_t;   75 typedef __clock_t clock_t;
76 typedef __time_t time_t;   76 typedef __time_t time_t;
77 typedef __clockid_t clockid_t;   77 typedef __clockid_t clockid_t;
78 typedef __timer_t timer_t;   78 typedef __timer_t timer_t;
79 typedef unsigned int size_t;   79 typedef unsigned int size_t;
80 typedef unsigned long ulong;   80 typedef unsigned long ulong;
81 typedef unsigned short ushort;   81 typedef unsigned short ushort;
82 typedef unsigned int uint;   82 typedef unsigned int uint;
83 typedef signed char int8_t;   83 typedef signed char int8_t;
84 typedef short int16_t;   84 typedef short int16_t;
85 typedef int int32_t;   85 typedef int int32_t;
86 typedef long long int64_t;   86 typedef long long int64_t;
87 typedef unsigned char u_int8_t;   87 typedef unsigned char u_int8_t;
88 typedef unsigned short u_int16_t;   88 typedef unsigned short u_int16_t;
89 typedef unsigned int u_int32_t;   89 typedef unsigned int u_int32_t;
90 typedef unsigned long long u_int64_t;   90 typedef unsigned long long u_int64_t;
91 typedef int register_t;   91 typedef int register_t;
92 typedef int __sig_atomic_t;   92 typedef int __sig_atomic_t;
93 struct __anonstruct___sigset_t_2 {   93 struct __anonstruct___sigset_t_2 {
94    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;   94    unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ;
95 };   95 };
96 typedef struct __anonstruct___sigset_t_2 __sigset_t;   96 typedef struct __anonstruct___sigset_t_2 __sigset_t;
97 typedef __sigset_t sigset_t;   97 typedef __sigset_t sigset_t;
98 struct timespec {   98 struct timespec {
99    __time_t tv_sec ;   99    __time_t tv_sec ;
100    long tv_nsec ;   100    long tv_nsec ;
101 };   101 };
102 struct timeval {   102 struct timeval {
103    __time_t tv_sec ;   103    __time_t tv_sec ;
104    __suseconds_t tv_usec ;   104    __suseconds_t tv_usec ;
105 };   105 };
106 typedef __suseconds_t suseconds_t;   106 typedef __suseconds_t suseconds_t;
107 typedef long __fd_mask;   107 typedef long __fd_mask;
108 struct __anonstruct_fd_set_3 {   108 struct __anonstruct_fd_set_3 {
109    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;   109    __fd_mask __fds_bits[1024 / (8 * (int )sizeof(__fd_mask ))] ;
110 };   110 };
111 typedef struct __anonstruct_fd_set_3 fd_set;   111 typedef struct __anonstruct_fd_set_3 fd_set;
112 typedef __fd_mask fd_mask;   112 typedef __fd_mask fd_mask;
113 typedef __blksize_t blksize_t;   113 typedef __blksize_t blksize_t;
114 typedef __blkcnt64_t blkcnt_t;   114 typedef __blkcnt64_t blkcnt_t;
115 typedef __fsblkcnt64_t fsblkcnt_t;   115 typedef __fsblkcnt64_t fsblkcnt_t;
116 typedef __fsfilcnt64_t fsfilcnt_t;   116 typedef __fsfilcnt64_t fsfilcnt_t;
117 typedef unsigned long pthread_t;   117 typedef unsigned long pthread_t;
118 union __anonunion_pthread_attr_t_4 {   118 union __anonunion_pthread_attr_t_4 {
119    char __size[36] ;   119    char __size[36] ;
120    long __align ;   120    long __align ;
121 };   121 };
122 typedef union __anonunion_pthread_attr_t_4 pthread_attr_t;   122 typedef union __anonunion_pthread_attr_t_4 pthread_attr_t;
123 struct __pthread_internal_slist {   123 struct __pthread_internal_slist {
124    struct __pthread_internal_slist *__next ;   124    struct __pthread_internal_slist *__next ;
125 };   125 };
126 typedef struct __pthread_internal_slist __pthread_slist_t;   126 typedef struct __pthread_internal_slist __pthread_slist_t;
127 union __anonunion____missing_field_name_6 {   127 union __anonunion____missing_field_name_6 {
128    int __spins ;   128    int __spins ;
129    __pthread_slist_t __list ;   129    __pthread_slist_t __list ;
130 };   130 };
131 struct __pthread_mutex_s {   131 struct __pthread_mutex_s {
132    int __lock ;   132    int __lock ;
133    unsigned int __count ;   133    unsigned int __count ;
134    int __owner ;   134    int __owner ;
135    int __kind ;   135    int __kind ;
136    unsigned int __nusers ;   136    unsigned int __nusers ;
137    union __anonunion____missing_field_name_6 __annonCompField1 ;   137    union __anonunion____missing_field_name_6 __annonCompField1 ;
138 };   138 };
139 union __anonunion_pthread_mutex_t_5 {   139 union __anonunion_pthread_mutex_t_5 {
140    struct __pthread_mutex_s __data ;   140    struct __pthread_mutex_s __data ;
141    char __size[24] ;   141    char __size[24] ;
142    long __align ;   142    long __align ;
143 };   143 };
144 typedef union __anonunion_pthread_mutex_t_5 pthread_mutex_t;   144 typedef union __anonunion_pthread_mutex_t_5 pthread_mutex_t;
145 union __anonunion_pthread_mutexattr_t_7 {   145 union __anonunion_pthread_mutexattr_t_7 {
146    char __size[4] ;   146    char __size[4] ;
147    long __align ;   147    long __align ;
148 };   148 };
149 typedef union __anonunion_pthread_mutexattr_t_7 pthread_mutexattr_t;   149 typedef union __anonunion_pthread_mutexattr_t_7 pthread_mutexattr_t;
150 struct __anonstruct___data_9 {   150 struct __anonstruct___data_9 {
151    int __lock ;   151    int __lock ;
152    unsigned int __futex ;   152    unsigned int __futex ;
153    unsigned long long __total_seq ;   153    unsigned long long __total_seq ;
154    unsigned long long __wakeup_seq ;   154    unsigned long long __wakeup_seq ;
155    unsigned long long __woken_seq ;   155    unsigned long long __woken_seq ;
156    void *__mutex ;   156    void *__mutex ;
157    unsigned int __nwaiters ;   157    unsigned int __nwaiters ;
158    unsigned int __broadcast_seq ;   158    unsigned int __broadcast_seq ;
159 };   159 };
160 union __anonunion_pthread_cond_t_8 {   160 union __anonunion_pthread_cond_t_8 {
161    struct __anonstruct___data_9 __data ;   161    struct __anonstruct___data_9 __data ;
162    char __size[48] ;   162    char __size[48] ;
163    long long __align ;   163    long long __align ;
164 };   164 };
165 typedef union __anonunion_pthread_cond_t_8 pthread_cond_t;   165 typedef union __anonunion_pthread_cond_t_8 pthread_cond_t;
166 union __anonunion_pthread_condattr_t_10 {   166 union __anonunion_pthread_condattr_t_10 {
167    char __size[4] ;   167    char __size[4] ;
168    long __align ;   168    long __align ;
169 };   169 };
170 typedef union __anonunion_pthread_condattr_t_10 pthread_condattr_t;   170 typedef union __anonunion_pthread_condattr_t_10 pthread_condattr_t;
171 typedef unsigned int pthread_key_t;   171 typedef unsigned int pthread_key_t;
172 typedef int pthread_once_t;   172 typedef int pthread_once_t;
173 struct __anonstruct___data_12 {   173 struct __anonstruct___data_12 {
174    int __lock ;   174    int __lock ;
175    unsigned int __nr_readers ;   175    unsigned int __nr_readers ;
176    unsigned int __readers_wakeup ;   176    unsigned int __readers_wakeup ;
177    unsigned int __writer_wakeup ;   177    unsigned int __writer_wakeup ;
178    unsigned int __nr_readers_queued ;   178    unsigned int __nr_readers_queued ;
179    unsigned int __nr_writers_queued ;   179    unsigned int __nr_writers_queued ;
180    unsigned char __flags ;   180    unsigned char __flags ;
181    unsigned char __shared ;   181    unsigned char __shared ;
182    unsigned char __pad1 ;   182    unsigned char __pad1 ;
183    unsigned char __pad2 ;   183    unsigned char __pad2 ;
184    int __writer ;   184    int __writer ;
185 };   185 };
186 union __anonunion_pthread_rwlock_t_11 {   186 union __anonunion_pthread_rwlock_t_11 {
187    struct __anonstruct___data_12 __data ;   187    struct __anonstruct___data_12 __data ;
188    char __size[32] ;   188    char __size[32] ;
189    long __align ;   189    long __align ;
190 };   190 };
191 typedef union __anonunion_pthread_rwlock_t_11 pthread_rwlock_t;   191 typedef union __anonunion_pthread_rwlock_t_11 pthread_rwlock_t;
192 union __anonunion_pthread_rwlockattr_t_13 {   192 union __anonunion_pthread_rwlockattr_t_13 {
193    char __size[8] ;   193    char __size[8] ;
194    long __align ;   194    long __align ;
195 };   195 };
196 typedef union __anonunion_pthread_rwlockattr_t_13 pthread_rwlockattr_t;   196 typedef union __anonunion_pthread_rwlockattr_t_13 pthread_rwlockattr_t;
197 typedef int volatile   pthread_spinlock_t;   197 typedef int volatile   pthread_spinlock_t;
198 union __anonunion_pthread_barrier_t_14 {   198 union __anonunion_pthread_barrier_t_14 {
199    char __size[20] ;   199    char __size[20] ;
200    long __align ;   200    long __align ;
201 };   201 };
202 typedef union __anonunion_pthread_barrier_t_14 pthread_barrier_t;   202 typedef union __anonunion_pthread_barrier_t_14 pthread_barrier_t;
203 union __anonunion_pthread_barrierattr_t_15 {   203 union __anonunion_pthread_barrierattr_t_15 {
204    char __size[4] ;   204    char __size[4] ;
205    int __align ;   205    int __align ;
206 };   206 };
207 typedef union __anonunion_pthread_barrierattr_t_15 pthread_barrierattr_t;   207 typedef union __anonunion_pthread_barrierattr_t_15 pthread_barrierattr_t;
208 struct flock {   208 struct flock {
209    short l_type ;   209    short l_type ;
210    short l_whence ;   210    short l_whence ;
211    __off64_t l_start ;   211    __off64_t l_start ;
212    __off64_t l_len ;   212    __off64_t l_len ;
213    __pid_t l_pid ;   213    __pid_t l_pid ;
214 };   214 };
215 struct stat {   215 struct stat {
216    __dev_t st_dev ;   216    __dev_t st_dev ;
217    unsigned short __pad1 ;   217    unsigned short __pad1 ;
218    __ino_t __st_ino ;   218    __ino_t __st_ino ;
219    __mode_t st_mode ;   219    __mode_t st_mode ;
220    __nlink_t st_nlink ;   220    __nlink_t st_nlink ;
221    __uid_t st_uid ;   221    __uid_t st_uid ;
222    __gid_t st_gid ;   222    __gid_t st_gid ;
223    __dev_t st_rdev ;   223    __dev_t st_rdev ;
224    unsigned short __pad2 ;   224    unsigned short __pad2 ;
225    __off64_t st_size ;   225    __off64_t st_size ;
226    __blksize_t st_blksize ;   226    __blksize_t st_blksize ;
227    __blkcnt64_t st_blocks ;   227    __blkcnt64_t st_blocks ;
228    struct timespec st_atim ;   228    struct timespec st_atim ;
229    struct timespec st_mtim ;   229    struct timespec st_mtim ;
230    struct timespec st_ctim ;   230    struct timespec st_ctim ;
231    __ino64_t st_ino ;   231    __ino64_t st_ino ;
232 };   232 };
233 struct __locale_data;   233 struct __locale_data;
234 struct __locale_struct {   234 struct __locale_struct {
235    struct __locale_data *__locales[13] ;   235    struct __locale_data *__locales[13] ;
236    unsigned short const   *__ctype_b ;   236    unsigned short const   *__ctype_b ;
237    int const   *__ctype_tolower ;   237    int const   *__ctype_tolower ;
238    int const   *__ctype_toupper ;   238    int const   *__ctype_toupper ;
239    char const   *__names[13] ;   239    char const   *__names[13] ;
240 };   240 };
241 typedef struct __locale_struct *__locale_t;   241 typedef struct __locale_struct *__locale_t;
242 typedef __locale_t locale_t;   242 typedef __locale_t locale_t;
243 typedef int (*__compar_fn_t)(void const   * , void const   * );   243 typedef int (*__compar_fn_t)(void const   * , void const   * );
244 enum __anonenum_ACTION_16 {   244 enum __anonenum_ACTION_16 {
245     FIND = 0,   245     FIND = 0,
246     ENTER = 1   246     ENTER = 1
247 } ;   247 } ;
248 typedef enum __anonenum_ACTION_16 ACTION;   248 typedef enum __anonenum_ACTION_16 ACTION;
249 struct entry {   249 struct entry {
250    char *key ;   250    char *key ;
251    void *data ;   251    void *data ;
252 };   252 };
253 typedef struct entry ENTRY;   253 typedef struct entry ENTRY;
254 struct _ENTRY;   254 struct _ENTRY;
255 struct _ENTRY;   255 struct _ENTRY;
256 enum __anonenum_VISIT_17 {   256 enum __anonenum_VISIT_17 {
257     preorder = 0,   257     preorder = 0,
258     postorder = 1,   258     postorder = 1,
259     endorder = 2,   259     endorder = 2,
260     leaf = 3   260     leaf = 3
261 } ;   261 } ;
262 typedef enum __anonenum_VISIT_17 VISIT;   262 typedef enum __anonenum_VISIT_17 VISIT;
263 typedef void (*__action_fn_t)(void const   *__nodep , VISIT __value ,   263 typedef void (*__action_fn_t)(void const   *__nodep , VISIT __value ,
264                               int __level );   264                               int __level );
265 typedef signed char int8;   265 typedef signed char int8;
266 typedef unsigned char uint8;   266 typedef unsigned char uint8;
267 typedef short int16;   267 typedef short int16;
268 typedef unsigned short uint16;   268 typedef unsigned short uint16;
269 typedef int int32;   269 typedef int int32;
270 typedef unsigned int uint32;   270 typedef unsigned int uint32;
271 typedef long long int64;   271 typedef long long int64;
272 typedef unsigned long long uint64;   272 typedef unsigned long long uint64;
273 typedef int uint16_vap;   273 typedef int uint16_vap;
274 struct __anonstruct_TIFFHeaderCommon_18 {   274 struct __anonstruct_TIFFHeaderCommon_18 {
275    uint16 tiff_magic ;   275    uint16 tiff_magic ;
276    uint16 tiff_version ;   276    uint16 tiff_version ;
277 };   277 };
278 typedef struct __anonstruct_TIFFHeaderCommon_18 TIFFHeaderCommon;   278 typedef struct __anonstruct_TIFFHeaderCommon_18 TIFFHeaderCommon;
279 struct __anonstruct_TIFFHeaderClassic_19 {   279 struct __anonstruct_TIFFHeaderClassic_19 {
280    uint16 tiff_magic ;   280    uint16 tiff_magic ;
281    uint16 tiff_version ;   281    uint16 tiff_version ;
282    uint32 tiff_diroff ;   282    uint32 tiff_diroff ;
283 };   283 };
284 typedef struct __anonstruct_TIFFHeaderClassic_19 TIFFHeaderClassic;   284 typedef struct __anonstruct_TIFFHeaderClassic_19 TIFFHeaderClassic;
285 struct __anonstruct_TIFFHeaderBig_20 {   285 struct __anonstruct_TIFFHeaderBig_20 {
286    uint16 tiff_magic ;   286    uint16 tiff_magic ;
287    uint16 tiff_version ;   287    uint16 tiff_version ;
288    uint16 tiff_offsetsize ;   288    uint16 tiff_offsetsize ;
289    uint16 tiff_unused ;   289    uint16 tiff_unused ;
290    uint64 tiff_diroff ;   290    uint64 tiff_diroff ;
291 };   291 };
292 typedef struct __anonstruct_TIFFHeaderBig_20 TIFFHeaderBig;   292 typedef struct __anonstruct_TIFFHeaderBig_20 TIFFHeaderBig;
293 enum __anonenum_TIFFDataType_21 {   293 enum __anonenum_TIFFDataType_21 {
294     TIFF_NOTYPE = 0,   294     TIFF_NOTYPE = 0,
295     TIFF_BYTE = 1,   295     TIFF_BYTE = 1,
296     TIFF_ASCII = 2,   296     TIFF_ASCII = 2,
297     TIFF_SHORT = 3,   297     TIFF_SHORT = 3,
298     TIFF_LONG = 4,   298     TIFF_LONG = 4,
299     TIFF_RATIONAL = 5,   299     TIFF_RATIONAL = 5,
300     TIFF_SBYTE = 6,   300     TIFF_SBYTE = 6,
301     TIFF_UNDEFINED = 7,   301     TIFF_UNDEFINED = 7,
302     TIFF_SSHORT = 8,   302     TIFF_SSHORT = 8,
303     TIFF_SLONG = 9,   303     TIFF_SLONG = 9,
304     TIFF_SRATIONAL = 10,   304     TIFF_SRATIONAL = 10,
305     TIFF_FLOAT = 11,   305     TIFF_FLOAT = 11,
306     TIFF_DOUBLE = 12,   306     TIFF_DOUBLE = 12,
307     TIFF_IFD = 13,   307     TIFF_IFD = 13,
308     TIFF_LONG8 = 16,   308     TIFF_LONG8 = 16,
309     TIFF_SLONG8 = 17,   309     TIFF_SLONG8 = 17,
310     TIFF_IFD8 = 18   310     TIFF_IFD8 = 18
311 } ;   311 } ;
312 typedef enum __anonenum_TIFFDataType_21 TIFFDataType;   312 typedef enum __anonenum_TIFFDataType_21 TIFFDataType;
313 struct tiff;   313 struct tiff;
314 typedef struct tiff TIFF;   314 typedef struct tiff TIFF;
315 typedef long tmsize_t;   315 typedef long tmsize_t;
316 typedef uint32 ttag_t;   316 typedef uint32 ttag_t;
317 typedef uint16 tdir_t;   317 typedef uint16 tdir_t;
318 typedef uint16 tsample_t;   318 typedef uint16 tsample_t;
319 typedef uint32 tstrile_t;   319 typedef uint32 tstrile_t;
320 typedef tstrile_t tstrip_t;   320 typedef tstrile_t tstrip_t;
321 typedef tstrile_t ttile_t;   321 typedef tstrile_t ttile_t;
322 typedef tmsize_t tsize_t;   322 typedef tmsize_t tsize_t;
323 typedef void *tdata_t;   323 typedef void *tdata_t;
324 typedef uint64 toff_t;   324 typedef uint64 toff_t;
325 typedef void *thandle_t;   325 typedef void *thandle_t;
326 typedef unsigned char TIFFRGBValue;   326 typedef unsigned char TIFFRGBValue;
327 struct __anonstruct_TIFFDisplay_22 {   327 struct __anonstruct_TIFFDisplay_22 {
328    float d_mat[3][3] ;   328    float d_mat[3][3] ;
329    float d_YCR ;   329    float d_YCR ;
330    float d_YCG ;   330    float d_YCG ;
331    float d_YCB ;   331    float d_YCB ;
332    uint32 d_Vrwr ;   332    uint32 d_Vrwr ;
333    uint32 d_Vrwg ;   333    uint32 d_Vrwg ;
334    uint32 d_Vrwb ;   334    uint32 d_Vrwb ;
335    float d_Y0R ;   335    float d_Y0R ;
336    float d_Y0G ;   336    float d_Y0G ;
337    float d_Y0B ;   337    float d_Y0B ;
338    float d_gammaR ;   338    float d_gammaR ;
339    float d_gammaG ;   339    float d_gammaG ;
340    float d_gammaB ;   340    float d_gammaB ;
341 };   341 };
342 typedef struct __anonstruct_TIFFDisplay_22 TIFFDisplay;   342 typedef struct __anonstruct_TIFFDisplay_22 TIFFDisplay;
343 struct __anonstruct_TIFFYCbCrToRGB_23 {   343 struct __anonstruct_TIFFYCbCrToRGB_23 {
344    TIFFRGBValue *clamptab ;   344    TIFFRGBValue *clamptab ;
345    int *Cr_r_tab ;   345    int *Cr_r_tab ;
346    int *Cb_b_tab ;   346    int *Cb_b_tab ;
347    int32 *Cr_g_tab ;   347    int32 *Cr_g_tab ;
348    int32 *Cb_g_tab ;   348    int32 *Cb_g_tab ;
349    int32 *Y_tab ;   349    int32 *Y_tab ;
350 };   350 };
351 typedef struct __anonstruct_TIFFYCbCrToRGB_23 TIFFYCbCrToRGB;   351 typedef struct __anonstruct_TIFFYCbCrToRGB_23 TIFFYCbCrToRGB;
352 struct __anonstruct_TIFFCIELabToRGB_24 {   352 struct __anonstruct_TIFFCIELabToRGB_24 {
353    int range ;   353    int range ;
354    float rstep ;   354    float rstep ;
355    float gstep ;   355    float gstep ;
356    float bstep ;   356    float bstep ;
357    float X0 ;   357    float X0 ;
358    float Y0 ;   358    float Y0 ;
359    float Z0 ;   359    float Z0 ;
360    TIFFDisplay display ;   360    TIFFDisplay display ;
361    float Yr2r[1501] ;   361    float Yr2r[1501] ;
362    float Yg2g[1501] ;   362    float Yg2g[1501] ;
363    float Yb2b[1501] ;   363    float Yb2b[1501] ;
364 };   364 };
365 typedef struct __anonstruct_TIFFCIELabToRGB_24 TIFFCIELabToRGB;   365 typedef struct __anonstruct_TIFFCIELabToRGB_24 TIFFCIELabToRGB;
366 struct _TIFFRGBAImage;   366 struct _TIFFRGBAImage;
367 typedef struct _TIFFRGBAImage TIFFRGBAImage;   367 typedef struct _TIFFRGBAImage TIFFRGBAImage;
368 typedef void (*tileContigRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,   368 typedef void (*tileContigRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,
369                                   uint32  , uint32  , uint32  , int32  ,   369                                   uint32  , uint32  , uint32  , int32  ,
370                                   int32  , unsigned char * );   370                                   int32  , unsigned char * );
371 typedef void (*tileSeparateRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,   371 typedef void (*tileSeparateRoutine)(TIFFRGBAImage * , uint32 * , uint32  ,
372                                     uint32  , uint32  , uint32  , int32  ,   372                                     uint32  , uint32  , uint32  , int32  ,
373                                     int32  , unsigned char * , unsigned char * ,   373                                     int32  , unsigned char * , unsigned char * ,
374                                     unsigned char * , unsigned char * );   374                                     unsigned char * , unsigned char * );
375 union __anonunion_put_25 {   375 union __anonunion_put_25 {
376    void (*any)(TIFFRGBAImage * ) ;   376    void (*any)(TIFFRGBAImage * ) ;
377    void (*contig)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,   377    void (*contig)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,
378                   uint32  , int32  , int32  , unsigned char * ) ;   378                   uint32  , int32  , int32  , unsigned char * ) ;
379    void (*separate)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,   379    void (*separate)(TIFFRGBAImage * , uint32 * , uint32  , uint32  , uint32  ,
380                     uint32  , int32  , int32  , unsigned char * ,   380                     uint32  , int32  , int32  , unsigned char * ,
381                     unsigned char * , unsigned char * , unsigned char * ) ;   381                     unsigned char * , unsigned char * , unsigned char * ) ;
382 };   382 };
383 struct _TIFFRGBAImage {   383 struct _TIFFRGBAImage {
384    TIFF *tif ;   384    TIFF *tif ;
385    int stoponerr ;   385    int stoponerr ;
386    int isContig ;   386    int isContig ;
387    int alpha ;   387    int alpha ;
388    uint32 width ;   388    uint32 width ;
389    uint32 height ;   389    uint32 height ;
390    uint16 bitspersample ;   390    uint16 bitspersample ;
391    uint16 samplesperpixel ;   391    uint16 samplesperpixel ;
392    uint16 orientation ;   392    uint16 orientation ;
393    uint16 req_orientation ;   393    uint16 req_orientation ;
394    uint16 photometric ;   394    uint16 photometric ;
395    uint16 *redcmap ;   395    uint16 *redcmap ;
396    uint16 *greencmap ;   396    uint16 *greencmap ;
397    uint16 *bluecmap ;   397    uint16 *bluecmap ;
398    int (*get)(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;   398    int (*get)(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;
399    union __anonunion_put_25 put ;   399    union __anonunion_put_25 put ;
400    TIFFRGBValue *Map ;   400    TIFFRGBValue *Map ;
401    uint32 **BWmap ;   401    uint32 **BWmap ;
402    uint32 **PALmap ;   402    uint32 **PALmap ;
403    TIFFYCbCrToRGB *ycbcr ;   403    TIFFYCbCrToRGB *ycbcr ;
404    TIFFCIELabToRGB *cielab ;   404    TIFFCIELabToRGB *cielab ;
405    uint8 *UaToAa ;   405    uint8 *UaToAa ;
406    uint8 *Bitdepth16To8 ;   406    uint8 *Bitdepth16To8 ;
407    int row_offset ;   407    int row_offset ;
408    int col_offset ;   408    int col_offset ;
409 };   409 };
410 typedef int (*TIFFInitMethod)(TIFF * , int  );   410 typedef int (*TIFFInitMethod)(TIFF * , int  );
411 struct __anonstruct_TIFFCodec_26 {   411 struct __anonstruct_TIFFCodec_26 {
412    char *name ;   412    char *name ;
413    uint16 scheme ;   413    uint16 scheme ;
414    int (*init)(TIFF * , int  ) ;   414    int (*init)(TIFF * , int  ) ;
415 };   415 };
416 typedef struct __anonstruct_TIFFCodec_26 TIFFCodec;   416 typedef struct __anonstruct_TIFFCodec_26 TIFFCodec;
417 struct _IO_FILE;   417 struct _IO_FILE;
418 struct _IO_FILE;   418 struct _IO_FILE;
419 typedef struct _IO_FILE FILE;   419 typedef struct _IO_FILE FILE;
420 typedef struct _IO_FILE __FILE;   420 typedef struct _IO_FILE __FILE;
421 union __anonunion___value_28 {   421 union __anonunion___value_28 {
422    unsigned int __wch ;   422    unsigned int __wch ;
423    char __wchb[4] ;   423    char __wchb[4] ;
424 };   424 };
425 struct __anonstruct___mbstate_t_27 {   425 struct __anonstruct___mbstate_t_27 {
426    int __count ;   426    int __count ;
427    union __anonunion___value_28 __value ;   427    union __anonunion___value_28 __value ;
428 };   428 };
429 typedef struct __anonstruct___mbstate_t_27 __mbstate_t;   429 typedef struct __anonstruct___mbstate_t_27 __mbstate_t;
430 struct __anonstruct__G_fpos_t_29 {   430 struct __anonstruct__G_fpos_t_29 {
431    __off_t __pos ;   431    __off_t __pos ;
432    __mbstate_t __state ;   432    __mbstate_t __state ;
433 };   433 };
434 typedef struct __anonstruct__G_fpos_t_29 _G_fpos_t;   434 typedef struct __anonstruct__G_fpos_t_29 _G_fpos_t;
435 struct __anonstruct__G_fpos64_t_30 {   435 struct __anonstruct__G_fpos64_t_30 {
436    __off64_t __pos ;   436    __off64_t __pos ;
437    __mbstate_t __state ;   437    __mbstate_t __state ;
438 };   438 };
439 typedef struct __anonstruct__G_fpos64_t_30 _G_fpos64_t;   439 typedef struct __anonstruct__G_fpos64_t_30 _G_fpos64_t;
440 typedef short _G_int16_t;   440 typedef short _G_int16_t;
441 typedef int _G_int32_t;   441 typedef int _G_int32_t;
442 typedef unsigned short _G_uint16_t;   442 typedef unsigned short _G_uint16_t;
443 typedef unsigned int _G_uint32_t;   443 typedef unsigned int _G_uint32_t;
444 typedef __builtin_va_list __gnuc_va_list;   444 typedef __builtin_va_list __gnuc_va_list;
445 struct _IO_jump_t;   445 struct _IO_jump_t;
446 struct _IO_jump_t;   446 struct _IO_jump_t;
447 struct _IO_FILE;   447 struct _IO_FILE;
448 typedef void _IO_lock_t;   448 typedef void _IO_lock_t;
449 struct _IO_marker {   449 struct _IO_marker {
450    struct _IO_marker *_next ;   450    struct _IO_marker *_next ;
451    struct _IO_FILE *_sbuf ;   451    struct _IO_FILE *_sbuf ;
452    int _pos ;   452    int _pos ;
453 };   453 };
454 enum __codecvt_result {   454 enum __codecvt_result {
455     __codecvt_ok = 0,   455     __codecvt_ok = 0,
456     __codecvt_partial = 1,   456     __codecvt_partial = 1,
457     __codecvt_error = 2,   457     __codecvt_error = 2,
458     __codecvt_noconv = 3   458     __codecvt_noconv = 3
459 } ;   459 } ;
460 struct _IO_FILE {   460 struct _IO_FILE {
461    int _flags ;   461    int _flags ;
462    char *_IO_read_ptr ;   462    char *_IO_read_ptr ;
463    char *_IO_read_end ;   463    char *_IO_read_end ;
464    char *_IO_read_base ;   464    char *_IO_read_base ;
465    char *_IO_write_base ;   465    char *_IO_write_base ;
466    char *_IO_write_ptr ;   466    char *_IO_write_ptr ;
467    char *_IO_write_end ;   467    char *_IO_write_end ;
468    char *_IO_buf_base ;   468    char *_IO_buf_base ;
469    char *_IO_buf_end ;   469    char *_IO_buf_end ;
470    char *_IO_save_base ;   470    char *_IO_save_base ;
471    char *_IO_backup_base ;   471    char *_IO_backup_base ;
472    char *_IO_save_end ;   472    char *_IO_save_end ;
473    struct _IO_marker *_markers ;   473    struct _IO_marker *_markers ;
474    struct _IO_FILE *_chain ;   474    struct _IO_FILE *_chain ;
475    int _fileno ;   475    int _fileno ;
476    int _flags2 ;   476    int _flags2 ;
477    __off_t _old_offset ;   477    __off_t _old_offset ;
478    unsigned short _cur_column ;   478    unsigned short _cur_column ;
479    signed char _vtable_offset ;   479    signed char _vtable_offset ;
480    char _shortbuf[1] ;   480    char _shortbuf[1] ;
481    _IO_lock_t *_lock ;   481    _IO_lock_t *_lock ;
482    __off64_t _offset ;   482    __off64_t _offset ;
483    void *__pad1 ;   483    void *__pad1 ;
484    void *__pad2 ;   484    void *__pad2 ;
485    void *__pad3 ;   485    void *__pad3 ;
486    void *__pad4 ;   486    void *__pad4 ;
487    size_t __pad5 ;   487    size_t __pad5 ;
488    int _mode ;   488    int _mode ;
489    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;   489    char _unused2[(15U * sizeof(int ) - 4U * sizeof(void *)) - sizeof(size_t )] ;
490 };   490 };
491 typedef struct _IO_FILE _IO_FILE;   491 typedef struct _IO_FILE _IO_FILE;
492 struct _IO_FILE_plus;   492 struct _IO_FILE_plus;
493 struct _IO_FILE_plus;   493 struct _IO_FILE_plus;
494 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );   494 typedef __ssize_t __io_read_fn(void *__cookie , char *__buf , size_t __nbytes );
495 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,   495 typedef __ssize_t __io_write_fn(void *__cookie , char const   *__buf ,
496                                 size_t __n );   496                                 size_t __n );
497 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );   497 typedef int __io_seek_fn(void *__cookie , __off64_t *__pos , int __w );
498 typedef int __io_close_fn(void *__cookie );   498 typedef int __io_close_fn(void *__cookie );
499 typedef __gnuc_va_list va_list;   499 typedef __gnuc_va_list va_list;
500 typedef _G_fpos64_t fpos_t;   500 typedef _G_fpos64_t fpos_t;
501 typedef void (*TIFFErrorHandler)(char const   * , char const   * , va_list  );   501 typedef void (*TIFFErrorHandler)(char const   * , char const   * , va_list  );
502 typedef void (*TIFFErrorHandlerExt)(thandle_t  , char const   * ,   502 typedef void (*TIFFErrorHandlerExt)(thandle_t  , char const   * ,
503                                     char const   * , va_list  );   503                                     char const   * , va_list  );
504 typedef tmsize_t (*TIFFReadWriteProc)(thandle_t  , void * , tmsize_t  );   504 typedef tmsize_t (*TIFFReadWriteProc)(thandle_t  , void * , tmsize_t  );
505 typedef uint64 (*TIFFSeekProc)(thandle_t  , uint64  , int  );   505 typedef uint64 (*TIFFSeekProc)(thandle_t  , uint64  , int  );
506 typedef int (*TIFFCloseProc)(thandle_t  );   506 typedef int (*TIFFCloseProc)(thandle_t  );
507 typedef uint64 (*TIFFSizeProc)(thandle_t  );   507 typedef uint64 (*TIFFSizeProc)(thandle_t  );
508 typedef int (*TIFFMapFileProc)(thandle_t  , void **base , toff_t *size );   508 typedef int (*TIFFMapFileProc)(thandle_t  , void **base , toff_t *size );
509 typedef void (*TIFFUnmapFileProc)(thandle_t  , void *base , toff_t size );   509 typedef void (*TIFFUnmapFileProc)(thandle_t  , void *base , toff_t size );
510 typedef void (*TIFFExtendProc)(TIFF * );   510 typedef void (*TIFFExtendProc)(TIFF * );
511 struct _TIFFField;   511 struct _TIFFField;
512 typedef struct _TIFFField TIFFField;   512 typedef struct _TIFFField TIFFField;
513 struct _TIFFFieldArray;   513 struct _TIFFFieldArray;
514 typedef struct _TIFFFieldArray TIFFFieldArray;   514 typedef struct _TIFFFieldArray TIFFFieldArray;
515 typedef int (*TIFFVSetMethod)(TIFF * , uint32  , va_list  );   515 typedef int (*TIFFVSetMethod)(TIFF * , uint32  , va_list  );
516 typedef int (*TIFFVGetMethod)(TIFF * , uint32  , va_list  );   516 typedef int (*TIFFVGetMethod)(TIFF * , uint32  , va_list  );
517 typedef void (*TIFFPrintMethod)(TIFF * , FILE * , long  );   517 typedef void (*TIFFPrintMethod)(TIFF * , FILE * , long  );
518 struct __anonstruct_TIFFTagMethods_31 {   518 struct __anonstruct_TIFFTagMethods_31 {
519    int (*vsetfield)(TIFF * , uint32  , va_list  ) ;   519    int (*vsetfield)(TIFF * , uint32  , va_list  ) ;
520    int (*vgetfield)(TIFF * , uint32  , va_list  ) ;   520    int (*vgetfield)(TIFF * , uint32  , va_list  ) ;
521    void (*printdir)(TIFF * , FILE * , long  ) ;   521    void (*printdir)(TIFF * , FILE * , long  ) ;
522 };   522 };
523 typedef struct __anonstruct_TIFFTagMethods_31 TIFFTagMethods;   523 typedef struct __anonstruct_TIFFTagMethods_31 TIFFTagMethods;
524 struct __anonstruct_TIFFFieldInfo_32 {   524 struct __anonstruct_TIFFFieldInfo_32 {
525    ttag_t field_tag ;   525    ttag_t field_tag ;
526    short field_readcount ;   526    short field_readcount ;
527    short field_writecount ;   527    short field_writecount ;
528    TIFFDataType field_type ;   528    TIFFDataType field_type ;
529    unsigned short field_bit ;   529    unsigned short field_bit ;
530    unsigned char field_oktochange ;   530    unsigned char field_oktochange ;
531    unsigned char field_passcount ;   531    unsigned char field_passcount ;
532    char *field_name ;   532    char *field_name ;
533 };   533 };
534 typedef struct __anonstruct_TIFFFieldInfo_32 TIFFFieldInfo;   534 typedef struct __anonstruct_TIFFFieldInfo_32 TIFFFieldInfo;
535 struct __anonstruct_TIFFTagValue_33 {   535 struct __anonstruct_TIFFTagValue_33 {
536    TIFFField const   *info ;   536    TIFFField const   *info ;
537    int count ;   537    int count ;
538    void *value ;   538    void *value ;
539 };   539 };
540 typedef struct __anonstruct_TIFFTagValue_33 TIFFTagValue;   540 typedef struct __anonstruct_TIFFTagValue_33 TIFFTagValue;
541 struct __anonstruct_TIFFDirectory_34 {   541 struct __anonstruct_TIFFDirectory_34 {
542    unsigned long td_fieldsset[4] ;   542    unsigned long td_fieldsset[4] ;
543    uint32 td_imagewidth ;   543    uint32 td_imagewidth ;
544    uint32 td_imagelength ;   544    uint32 td_imagelength ;
545    uint32 td_imagedepth ;   545    uint32 td_imagedepth ;
546    uint32 td_tilewidth ;   546    uint32 td_tilewidth ;
547    uint32 td_tilelength ;   547    uint32 td_tilelength ;
548    uint32 td_tiledepth ;   548    uint32 td_tiledepth ;
549    uint32 td_subfiletype ;   549    uint32 td_subfiletype ;
550    uint16 td_bitspersample ;   550    uint16 td_bitspersample ;
551    uint16 td_sampleformat ;   551    uint16 td_sampleformat ;
552    uint16 td_compression ;   552    uint16 td_compression ;
553    uint16 td_photometric ;   553    uint16 td_photometric ;
554    uint16 td_threshholding ;   554    uint16 td_threshholding ;
555    uint16 td_fillorder ;   555    uint16 td_fillorder ;
556    uint16 td_orientation ;   556    uint16 td_orientation ;
557    uint16 td_samplesperpixel ;   557    uint16 td_samplesperpixel ;
558    uint32 td_rowsperstrip ;   558    uint32 td_rowsperstrip ;
559    uint16 td_minsamplevalue ;   559    uint16 td_minsamplevalue ;
560    uint16 td_maxsamplevalue ;   560    uint16 td_maxsamplevalue ;
561    double td_sminsamplevalue ;   561    double td_sminsamplevalue ;
562    double td_smaxsamplevalue ;   562    double td_smaxsamplevalue ;
563    float td_xresolution ;   563    float td_xresolution ;
564    float td_yresolution ;   564    float td_yresolution ;
565    uint16 td_resolutionunit ;   565    uint16 td_resolutionunit ;
566    uint16 td_planarconfig ;   566    uint16 td_planarconfig ;
567    float td_xposition ;   567    float td_xposition ;
568    float td_yposition ;   568    float td_yposition ;
569    uint16 td_pagenumber[2] ;   569    uint16 td_pagenumber[2] ;
570    uint16 *td_colormap[3] ;   570    uint16 *td_colormap[3] ;
571    uint16 td_halftonehints[2] ;   571    uint16 td_halftonehints[2] ;
572    uint16 td_extrasamples ;   572    uint16 td_extrasamples ;
573    uint16 *td_sampleinfo ;   573    uint16 *td_sampleinfo ;
574    uint32 td_stripsperimage ;   574    uint32 td_stripsperimage ;
575    uint32 td_nstrips ;   575    uint32 td_nstrips ;
576    uint64 *td_stripoffset ;   576    uint64 *td_stripoffset ;
577    uint64 *td_stripbytecount ;   577    uint64 *td_stripbytecount ;
578    int td_stripbytecountsorted ;   578    int td_stripbytecountsorted ;
579    uint16 td_nsubifd ;   579    uint16 td_nsubifd ;
580    uint64 *td_subifd ;   580    uint64 *td_subifd ;
581    uint16 td_ycbcrsubsampling[2] ;   581    uint16 td_ycbcrsubsampling[2] ;
582    uint16 td_ycbcrpositioning ;   582    uint16 td_ycbcrpositioning ;
583    uint16 *td_transferfunction[3] ;   583    uint16 *td_transferfunction[3] ;
584    int td_inknameslen ;   584    int td_inknameslen ;
585    char *td_inknames ;   585    char *td_inknames ;
586    int td_customValueCount ;   586    int td_customValueCount ;
587    TIFFTagValue *td_customValues ;   587    TIFFTagValue *td_customValues ;
588 };   588 };
589 typedef struct __anonstruct_TIFFDirectory_34 TIFFDirectory;   589 typedef struct __anonstruct_TIFFDirectory_34 TIFFDirectory;
590 enum __anonenum_TIFFSetGetFieldType_35 {   590 enum __anonenum_TIFFSetGetFieldType_35 {
591     TIFF_SETGET_UNDEFINED = 0,   591     TIFF_SETGET_UNDEFINED = 0,
592     TIFF_SETGET_ASCII = 1,   592     TIFF_SETGET_ASCII = 1,
593     TIFF_SETGET_UINT8 = 2,   593     TIFF_SETGET_UINT8 = 2,
594     TIFF_SETGET_SINT8 = 3,   594     TIFF_SETGET_SINT8 = 3,
595     TIFF_SETGET_UINT16 = 4,   595     TIFF_SETGET_UINT16 = 4,
596     TIFF_SETGET_SINT16 = 5,   596     TIFF_SETGET_SINT16 = 5,
597     TIFF_SETGET_UINT32 = 6,   597     TIFF_SETGET_UINT32 = 6,
598     TIFF_SETGET_SINT32 = 7,   598     TIFF_SETGET_SINT32 = 7,
599     TIFF_SETGET_UINT64 = 8,   599     TIFF_SETGET_UINT64 = 8,
600     TIFF_SETGET_SINT64 = 9,   600     TIFF_SETGET_SINT64 = 9,
601     TIFF_SETGET_FLOAT = 10,   601     TIFF_SETGET_FLOAT = 10,
602     TIFF_SETGET_DOUBLE = 11,   602     TIFF_SETGET_DOUBLE = 11,
603     TIFF_SETGET_IFD8 = 12,   603     TIFF_SETGET_IFD8 = 12,
604     TIFF_SETGET_INT = 13,   604     TIFF_SETGET_INT = 13,
605     TIFF_SETGET_UINT16_PAIR = 14,   605     TIFF_SETGET_UINT16_PAIR = 14,
606     TIFF_SETGET_C0_ASCII = 15,   606     TIFF_SETGET_C0_ASCII = 15,
607     TIFF_SETGET_C0_UINT8 = 16,   607     TIFF_SETGET_C0_UINT8 = 16,
608     TIFF_SETGET_C0_SINT8 = 17,   608     TIFF_SETGET_C0_SINT8 = 17,
609     TIFF_SETGET_C0_UINT16 = 18,   609     TIFF_SETGET_C0_UINT16 = 18,
610     TIFF_SETGET_C0_SINT16 = 19,   610     TIFF_SETGET_C0_SINT16 = 19,
611     TIFF_SETGET_C0_UINT32 = 20,   611     TIFF_SETGET_C0_UINT32 = 20,
612     TIFF_SETGET_C0_SINT32 = 21,   612     TIFF_SETGET_C0_SINT32 = 21,
613     TIFF_SETGET_C0_UINT64 = 22,   613     TIFF_SETGET_C0_UINT64 = 22,
614     TIFF_SETGET_C0_SINT64 = 23,   614     TIFF_SETGET_C0_SINT64 = 23,
615     TIFF_SETGET_C0_FLOAT = 24,   615     TIFF_SETGET_C0_FLOAT = 24,
616     TIFF_SETGET_C0_DOUBLE = 25,   616     TIFF_SETGET_C0_DOUBLE = 25,
617     TIFF_SETGET_C0_IFD8 = 26,   617     TIFF_SETGET_C0_IFD8 = 26,
618     TIFF_SETGET_C16_ASCII = 27,   618     TIFF_SETGET_C16_ASCII = 27,
619     TIFF_SETGET_C16_UINT8 = 28,   619     TIFF_SETGET_C16_UINT8 = 28,
620     TIFF_SETGET_C16_SINT8 = 29,   620     TIFF_SETGET_C16_SINT8 = 29,
621     TIFF_SETGET_C16_UINT16 = 30,   621     TIFF_SETGET_C16_UINT16 = 30,
622     TIFF_SETGET_C16_SINT16 = 31,   622     TIFF_SETGET_C16_SINT16 = 31,
623     TIFF_SETGET_C16_UINT32 = 32,   623     TIFF_SETGET_C16_UINT32 = 32,
624     TIFF_SETGET_C16_SINT32 = 33,   624     TIFF_SETGET_C16_SINT32 = 33,
625     TIFF_SETGET_C16_UINT64 = 34,   625     TIFF_SETGET_C16_UINT64 = 34,
626     TIFF_SETGET_C16_SINT64 = 35,   626     TIFF_SETGET_C16_SINT64 = 35,
627     TIFF_SETGET_C16_FLOAT = 36,   627     TIFF_SETGET_C16_FLOAT = 36,
628     TIFF_SETGET_C16_DOUBLE = 37,   628     TIFF_SETGET_C16_DOUBLE = 37,
629     TIFF_SETGET_C16_IFD8 = 38,   629     TIFF_SETGET_C16_IFD8 = 38,
630     TIFF_SETGET_C32_ASCII = 39,   630     TIFF_SETGET_C32_ASCII = 39,
631     TIFF_SETGET_C32_UINT8 = 40,   631     TIFF_SETGET_C32_UINT8 = 40,
632     TIFF_SETGET_C32_SINT8 = 41,   632     TIFF_SETGET_C32_SINT8 = 41,
633     TIFF_SETGET_C32_UINT16 = 42,   633     TIFF_SETGET_C32_UINT16 = 42,
634     TIFF_SETGET_C32_SINT16 = 43,   634     TIFF_SETGET_C32_SINT16 = 43,
635     TIFF_SETGET_C32_UINT32 = 44,   635     TIFF_SETGET_C32_UINT32 = 44,
636     TIFF_SETGET_C32_SINT32 = 45,   636     TIFF_SETGET_C32_SINT32 = 45,
637     TIFF_SETGET_C32_UINT64 = 46,   637     TIFF_SETGET_C32_UINT64 = 46,
638     TIFF_SETGET_C32_SINT64 = 47,   638     TIFF_SETGET_C32_SINT64 = 47,
639     TIFF_SETGET_C32_FLOAT = 48,   639     TIFF_SETGET_C32_FLOAT = 48,
640     TIFF_SETGET_C32_DOUBLE = 49,   640     TIFF_SETGET_C32_DOUBLE = 49,
641     TIFF_SETGET_C32_IFD8 = 50,   641     TIFF_SETGET_C32_IFD8 = 50,
642     TIFF_SETGET_OTHER = 51   642     TIFF_SETGET_OTHER = 51
643 } ;   643 } ;
644 typedef enum __anonenum_TIFFSetGetFieldType_35 TIFFSetGetFieldType;   644 typedef enum __anonenum_TIFFSetGetFieldType_35 TIFFSetGetFieldType;
645 enum __anonenum_TIFFFieldArrayType_36 {   645 enum __anonenum_TIFFFieldArrayType_36 {
646     tfiatImage = 0,   646     tfiatImage = 0,
647     tfiatExif = 1,   647     tfiatExif = 1,
648     tfiatOther = 2   648     tfiatOther = 2
649 } ;   649 } ;
650 typedef enum __anonenum_TIFFFieldArrayType_36 TIFFFieldArrayType;   650 typedef enum __anonenum_TIFFFieldArrayType_36 TIFFFieldArrayType;
651 struct _TIFFFieldArray {   651 struct _TIFFFieldArray {
652    TIFFFieldArrayType type ;   652    TIFFFieldArrayType type ;
653    uint32 allocated_size ;   653    uint32 allocated_size ;
654    uint32 count ;   654    uint32 count ;
655    TIFFField *fields ;   655    TIFFField *fields ;
656 };   656 };
657 struct _TIFFField {   657 struct _TIFFField {
658    uint32 field_tag ;   658    uint32 field_tag ;
659    short field_readcount ;   659    short field_readcount ;
660    short field_writecount ;   660    short field_writecount ;
661    TIFFDataType field_type ;   661    TIFFDataType field_type ;
662    uint32 reserved ;   662    uint32 reserved ;
663    TIFFSetGetFieldType set_field_type ;   663    TIFFSetGetFieldType set_field_type ;
664    TIFFSetGetFieldType get_field_type ;   664    TIFFSetGetFieldType get_field_type ;
665    unsigned short field_bit ;   665    unsigned short field_bit ;
666    unsigned char field_oktochange ;   666    unsigned char field_oktochange ;
667    unsigned char field_passcount ;   667    unsigned char field_passcount ;
668    char *field_name ;   668    char *field_name ;
669    TIFFFieldArray *field_subfields ;   669    TIFFFieldArray *field_subfields ;
670 };   670 };
671 struct __anonstruct_TIFFDirEntry_37 {   671 struct __anonstruct_TIFFDirEntry_37 {
672    uint16 tdir_tag ;   672    uint16 tdir_tag ;
673    uint16 tdir_type ;   673    uint16 tdir_type ;
674    uint64 tdir_count ;   674    uint64 tdir_count ;
675    uint64 tdir_offset ;   675    uint64 tdir_offset ;
676 };   676 };
677 typedef struct __anonstruct_TIFFDirEntry_37 TIFFDirEntry;   677 typedef struct __anonstruct_TIFFDirEntry_37 TIFFDirEntry;
678 struct client_info {   678 struct client_info {
679    struct client_info *next ;   679    struct client_info *next ;
680    void *data ;   680    void *data ;
681    char *name ;   681    char *name ;
682 };   682 };
683 typedef struct client_info TIFFClientInfoLink;   683 typedef struct client_info TIFFClientInfoLink;
684 typedef unsigned char tidataval_t;   684 typedef unsigned char tidataval_t;
685 typedef tidataval_t *tidata_t;   685 typedef tidataval_t *tidata_t;
686 typedef void (*TIFFVoidMethod)(TIFF * );   686 typedef void (*TIFFVoidMethod)(TIFF * );
687 typedef int (*TIFFBoolMethod)(TIFF * );   687 typedef int (*TIFFBoolMethod)(TIFF * );
688 typedef int (*TIFFPreMethod)(TIFF * , uint16  );   688 typedef int (*TIFFPreMethod)(TIFF * , uint16  );
689 typedef int (*TIFFCodeMethod)(TIFF *tif , uint8 *buf , tmsize_t size ,   689 typedef int (*TIFFCodeMethod)(TIFF *tif , uint8 *buf , tmsize_t size ,
690                               uint16 sample );   690                               uint16 sample );
691 typedef int (*TIFFSeekMethod)(TIFF * , uint32  );   691 typedef int (*TIFFSeekMethod)(TIFF * , uint32  );
692 typedef void (*TIFFPostMethod)(TIFF *tif , uint8 *buf , tmsize_t size );   692 typedef void (*TIFFPostMethod)(TIFF *tif , uint8 *buf , tmsize_t size );
693 typedef uint32 (*TIFFStripMethod)(TIFF * , uint32  );   693 typedef uint32 (*TIFFStripMethod)(TIFF * , uint32  );
694 typedef void (*TIFFTileMethod)(TIFF * , uint32 * , uint32 * );   694 typedef void (*TIFFTileMethod)(TIFF * , uint32 * , uint32 * );
695 union __anonunion_tif_header_38 {   695 union __anonunion_tif_header_38 {
696    TIFFHeaderCommon common ;   696    TIFFHeaderCommon common ;
697    TIFFHeaderClassic classic ;   697    TIFFHeaderClassic classic ;
698    TIFFHeaderBig big ;   698    TIFFHeaderBig big ;
699 };   699 };
700 struct tiff {   700 struct tiff {
701    char *tif_name ;   701    char *tif_name ;
702    int tif_fd ;   702    int tif_fd ;
703    int tif_mode ;   703    int tif_mode ;
704    uint32 tif_flags ;   704    uint32 tif_flags ;
705    uint64 tif_diroff ;   705    uint64 tif_diroff ;
706    uint64 tif_nextdiroff ;   706    uint64 tif_nextdiroff ;
707    uint64 *tif_dirlist ;   707    uint64 *tif_dirlist ;
708    uint16 tif_dirlistsize ;   708    uint16 tif_dirlistsize ;
709    uint16 tif_dirnumber ;   709    uint16 tif_dirnumber ;
710    TIFFDirectory tif_dir ;   710    TIFFDirectory tif_dir ;
711    TIFFDirectory tif_customdir ;   711    TIFFDirectory tif_customdir ;
712    union __anonunion_tif_header_38 tif_header ;   712    union __anonunion_tif_header_38 tif_header ;
713    uint16 tif_header_size ;   713    uint16 tif_header_size ;
714    uint32 tif_row ;   714    uint32 tif_row ;
715    uint16 tif_curdir ;   715    uint16 tif_curdir ;
716    uint32 tif_curstrip ;   716    uint32 tif_curstrip ;
717    uint64 tif_curoff ;   717    uint64 tif_curoff ;
718    uint64 tif_dataoff ;   718    uint64 tif_dataoff ;
719    uint16 tif_nsubifd ;   719    uint16 tif_nsubifd ;
720    uint64 tif_subifdoff ;   720    uint64 tif_subifdoff ;
721    uint32 tif_col ;   721    uint32 tif_col ;
722    uint32 tif_curtile ;   722    uint32 tif_curtile ;
723    tmsize_t tif_tilesize ;   723    tmsize_t tif_tilesize ;
724    int tif_decodestatus ;   724    int tif_decodestatus ;
725    int (*tif_fixuptags)(TIFF * ) ;   725    int (*tif_fixuptags)(TIFF * ) ;
726    int (*tif_setupdecode)(TIFF * ) ;   726    int (*tif_setupdecode)(TIFF * ) ;
727    int (*tif_predecode)(TIFF * , uint16  ) ;   727    int (*tif_predecode)(TIFF * , uint16  ) ;
728    int (*tif_setupencode)(TIFF * ) ;   728    int (*tif_setupencode)(TIFF * ) ;
729    int tif_encodestatus ;   729    int tif_encodestatus ;
730    int (*tif_preencode)(TIFF * , uint16  ) ;   730    int (*tif_preencode)(TIFF * , uint16  ) ;
731    int (*tif_postencode)(TIFF * ) ;   731    int (*tif_postencode)(TIFF * ) ;
732    int (*tif_decoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   732    int (*tif_decoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
733    int (*tif_encoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   733    int (*tif_encoderow)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
734    int (*tif_decodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,   734    int (*tif_decodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,
735                           uint16 sample ) ;   735                           uint16 sample ) ;
736    int (*tif_encodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,   736    int (*tif_encodestrip)(TIFF *tif , uint8 *buf , tmsize_t size ,
737                           uint16 sample ) ;   737                           uint16 sample ) ;
738    int (*tif_decodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   738    int (*tif_decodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
739    int (*tif_encodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;   739    int (*tif_encodetile)(TIFF *tif , uint8 *buf , tmsize_t size , uint16 sample ) ;
740    void (*tif_close)(TIFF * ) ;   740    void (*tif_close)(TIFF * ) ;
741    int (*tif_seek)(TIFF * , uint32  ) ;   741    int (*tif_seek)(TIFF * , uint32  ) ;
742    void (*tif_cleanup)(TIFF * ) ;   742    void (*tif_cleanup)(TIFF * ) ;
743    uint32 (*tif_defstripsize)(TIFF * , uint32  ) ;   743    uint32 (*tif_defstripsize)(TIFF * , uint32  ) ;
744    void (*tif_deftilesize)(TIFF * , uint32 * , uint32 * ) ;   744    void (*tif_deftilesize)(TIFF * , uint32 * , uint32 * ) ;
745    uint8 *tif_data ;   745    uint8 *tif_data ;
746    tmsize_t tif_scanlinesize ;   746    tmsize_t tif_scanlinesize ;
747    tmsize_t tif_scanlineskew ;   747    tmsize_t tif_scanlineskew ;
748    uint8 *tif_rawdata ;   748    uint8 *tif_rawdata ;
749    tmsize_t tif_rawdatasize ;   749    tmsize_t tif_rawdatasize ;
750    uint8 *tif_rawcp ;   750    uint8 *tif_rawcp ;
751    tmsize_t tif_rawcc ;   751    tmsize_t tif_rawcc ;
752    uint8 *tif_base ;   752    uint8 *tif_base ;
753    tmsize_t tif_size ;   753    tmsize_t tif_size ;
754    int (*tif_mapproc)(thandle_t  , void **base , toff_t *size ) ;   754    int (*tif_mapproc)(thandle_t  , void **base , toff_t *size ) ;
755    void (*tif_unmapproc)(thandle_t  , void *base , toff_t size ) ;   755    void (*tif_unmapproc)(thandle_t  , void *base , toff_t size ) ;
756    thandle_t tif_clientdata ;   756    thandle_t tif_clientdata ;
757    tmsize_t (*tif_readproc)(thandle_t  , void * , tmsize_t  ) ;   757    tmsize_t (*tif_readproc)(thandle_t  , void * , tmsize_t  ) ;
758    tmsize_t (*tif_writeproc)(thandle_t  , void * , tmsize_t  ) ;   758    tmsize_t (*tif_writeproc)(thandle_t  , void * , tmsize_t  ) ;
759    uint64 (*tif_seekproc)(thandle_t  , uint64  , int  ) ;   759    uint64 (*tif_seekproc)(thandle_t  , uint64  , int  ) ;
760    int (*tif_closeproc)(thandle_t  ) ;   760    int (*tif_closeproc)(thandle_t  ) ;
761    uint64 (*tif_sizeproc)(thandle_t  ) ;   761    uint64 (*tif_sizeproc)(thandle_t  ) ;
762    void (*tif_postdecode)(TIFF *tif , uint8 *buf , tmsize_t size ) ;   762    void (*tif_postdecode)(TIFF *tif , uint8 *buf , tmsize_t size ) ;
763    TIFFField **tif_fields ;   763    TIFFField **tif_fields ;
764    uint32 tif_nfields ;   764    uint32 tif_nfields ;
765    TIFFField const   *tif_foundfield ;   765    TIFFField const   *tif_foundfield ;
766    TIFFTagMethods tif_tagmethods ;   766    TIFFTagMethods tif_tagmethods ;
767    TIFFClientInfoLink *tif_clientinfo ;   767    TIFFClientInfoLink *tif_clientinfo ;
768    TIFFFieldArray *tif_fieldscompat ;   768    TIFFFieldArray *tif_fieldscompat ;
769    uint32 tif_nfieldscompat ;   769    uint32 tif_nfieldscompat ;
770 };   770 };
771 typedef long wchar_t;   771 typedef long wchar_t;
772 struct __anonstruct___wait_terminated_39 {   772 struct __anonstruct___wait_terminated_39 {
773    unsigned int __w_termsig : 7 ;   773    unsigned int __w_termsig : 7 ;
774    unsigned int __w_coredump : 1 ;   774    unsigned int __w_coredump : 1 ;
775    unsigned int __w_retcode : 8 ;   775    unsigned int __w_retcode : 8 ;
776    unsigned int  : 16 ;   776    unsigned int  : 16 ;
777 };   777 };
778 struct __anonstruct___wait_stopped_40 {   778 struct __anonstruct___wait_stopped_40 {
779    unsigned int __w_stopval : 8 ;   779    unsigned int __w_stopval : 8 ;
780    unsigned int __w_stopsig : 8 ;   780    unsigned int __w_stopsig : 8 ;
781    unsigned int  : 16 ;   781    unsigned int  : 16 ;
782 };   782 };
783 union wait {   783 union wait {
784    int w_status ;   784    int w_status ;
785    struct __anonstruct___wait_terminated_39 __wait_terminated ;   785    struct __anonstruct___wait_terminated_39 __wait_terminated ;
786    struct __anonstruct___wait_stopped_40 __wait_stopped ;   786    struct __anonstruct___wait_stopped_40 __wait_stopped ;
787 };   787 };
788 union __anonunion___WAIT_STATUS_41 {   788 union __anonunion___WAIT_STATUS_41 {
789    union wait *__uptr ;   789    union wait *__uptr ;
790    int *__iptr ;   790    int *__iptr ;
791 };   791 };
792 typedef union __anonunion___WAIT_STATUS_41  __attribute__((__transparent_union__)) __WAIT_STATUS;   792 typedef union __anonunion___WAIT_STATUS_41  __attribute__((__transparent_union__)) __WAIT_STATUS;
793 struct __anonstruct_div_t_42 {   793 struct __anonstruct_div_t_42 {
794    int quot ;   794    int quot ;
795    int rem ;   795    int rem ;
796 };   796 };
797 typedef struct __anonstruct_div_t_42 div_t;   797 typedef struct __anonstruct_div_t_42 div_t;
798 struct __anonstruct_ldiv_t_43 {   798 struct __anonstruct_ldiv_t_43 {
799    long quot ;   799    long quot ;
800    long rem ;   800    long rem ;
801 };   801 };
802 typedef struct __anonstruct_ldiv_t_43 ldiv_t;   802 typedef struct __anonstruct_ldiv_t_43 ldiv_t;
803 struct __anonstruct_lldiv_t_44 {   803 struct __anonstruct_lldiv_t_44 {
804    long long quot ;   804    long long quot ;
805    long long rem ;   805    long long rem ;
806 };   806 };
807 typedef struct __anonstruct_lldiv_t_44 lldiv_t;   807 typedef struct __anonstruct_lldiv_t_44 lldiv_t;
808 struct random_data {   808 struct random_data {
809    int32_t *fptr ;   809    int32_t *fptr ;
810    int32_t *rptr ;   810    int32_t *rptr ;
811    int32_t *state ;   811    int32_t *state ;
812    int rand_type ;   812    int rand_type ;
813    int rand_deg ;   813    int rand_deg ;
814    int rand_sep ;   814    int rand_sep ;
815    int32_t *end_ptr ;   815    int32_t *end_ptr ;
816 };   816 };
817 struct drand48_data {   817 struct drand48_data {
818    unsigned short __x[3] ;   818    unsigned short __x[3] ;
819    unsigned short __old_x[3] ;   819    unsigned short __old_x[3] ;
820    unsigned short __c ;   820    unsigned short __c ;
821    unsigned short __init ;   821    unsigned short __init ;
822    unsigned long long __a ;   822    unsigned long long __a ;
823 };   823 };
824 extern int select(int __nfds , fd_set * __restrict  __readfds ,   824 extern int select(int __nfds , fd_set * __restrict  __readfds ,
825                   fd_set * __restrict  __writefds ,   825                   fd_set * __restrict  __writefds ,
826                   fd_set * __restrict  __exceptfds ,   826                   fd_set * __restrict  __exceptfds ,
827                   struct timeval * __restrict  __timeout ) ;   827                   struct timeval * __restrict  __timeout ) ;
828 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,   828 extern int pselect(int __nfds , fd_set * __restrict  __readfds ,
829                    fd_set * __restrict  __writefds ,   829                    fd_set * __restrict  __writefds ,
830                    fd_set * __restrict  __exceptfds ,   830                    fd_set * __restrict  __exceptfds ,
831                    struct timespec  const  * __restrict  __timeout ,   831                    struct timespec  const  * __restrict  __timeout ,
832                    __sigset_t const   * __restrict  __sigmask ) ;   832                    __sigset_t const   * __restrict  __sigmask ) ;
833 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   833 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
834 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   834 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
835 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   835 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
836                                                                                  unsigned int __minor ) ;   836                                                                                  unsigned int __minor ) ;
837 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;   837 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_major(unsigned long long __dev ) ;
838 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )   838 __inline extern unsigned int gnu_dev_major(unsigned long long __dev )
839 {   839 {
840     840  
841     841  
842   {   842   {
843   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));   843   return ((unsigned int )(((__dev >> 8) & 4095ULL) | (unsigned long long )((unsigned int )(__dev >> 32) & 4294963200U)));
844 }   844 }
845 }   845 }
846 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;   846 __inline extern  __attribute__((__nothrow__)) unsigned int gnu_dev_minor(unsigned long long __dev ) ;
847 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )   847 __inline extern unsigned int gnu_dev_minor(unsigned long long __dev )
848 {   848 {
849     849  
850     850  
851   {   851   {
852   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));   852   return ((unsigned int )((__dev & 255ULL) | (unsigned long long )((unsigned int )(__dev >> 12) & 4294967040U)));
853 }   853 }
854 }   854 }
855 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,   855 __inline extern  __attribute__((__nothrow__)) unsigned long long gnu_dev_makedev(unsigned int __major ,
856                                                                                  unsigned int __minor ) ;   856                                                                                  unsigned int __minor ) ;
857 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,   857 __inline extern unsigned long long gnu_dev_makedev(unsigned int __major ,
858                                                    unsigned int __minor )   858                                                    unsigned int __minor )
859 {   859 {
860     860  
861     861  
862   {   862   {
863   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));   863   return (((unsigned long long )((__minor & 255U) | ((__major & 4095U) << 8)) | ((unsigned long long )(__minor & 4294967040U) << 12)) | ((unsigned long long )(__major & 4294963200U) << 32));
864 }   864 }
865 }   865 }
866 extern int fcntl(int __fd , int __cmd  , ...) ;   866 extern int fcntl(int __fd , int __cmd  , ...) ;
867 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,   867 extern int ( __attribute__((__nonnull__(1))) open)(char const   *__file ,
868                                                    int __oflag  , ...)  __asm__("open64")  ;   868                                                    int __oflag  , ...)  __asm__("open64")  ;
869 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,   869 extern int ( __attribute__((__nonnull__(2))) openat)(int __fd ,
870                                                      char const   *__file ,   870                                                      char const   *__file ,
871                                                      int __oflag  , ...)  __asm__("openat64")  ;   871                                                      int __oflag  , ...)  __asm__("openat64")  ;
872 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,   872 extern int ( __attribute__((__nonnull__(1))) creat)(char const   *__file ,
873                                                     __mode_t __mode )  __asm__("creat64")  ;   873                                                     __mode_t __mode )  __asm__("creat64")  ;
874 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;   874 extern int lockf(int __fd , int __cmd , __off64_t __len )  __asm__("lockf64")  ;
875 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,   875 extern  __attribute__((__nothrow__)) int posix_fadvise(int __fd ,
876                                                        __off64_t __offset ,   876                                                        __off64_t __offset ,
877                                                        __off64_t __len ,   877                                                        __off64_t __len ,
878                                                        int __advise )  __asm__("posix_fadvise64")  ;   878                                                        int __advise )  __asm__("posix_fadvise64")  ;
879 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;   879 extern int posix_fallocate(int __fd , __off64_t __offset , __off64_t __len )  __asm__("posix_fallocate64")  ;
880 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,   880 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memcpy)(void * __restrict  __dest ,
881                                                                                        void const   * __restrict  __src ,   881                                                                                        void const   * __restrict  __src ,
882                                                                                        size_t __n ) ;   882                                                                                        size_t __n ) ;
883 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,   883 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memmove)(void *__dest ,
884                                                                                         void const   *__src ,   884                                                                                         void const   *__src ,
885                                                                                         size_t __n ) ;   885                                                                                         size_t __n ) ;
886 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,   886 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1,2))) memccpy)(void * __restrict  __dest ,
887                                                                                         void const   * __restrict  __src ,   887                                                                                         void const   * __restrict  __src ,
888                                                                                         int __c ,   888                                                                                         int __c ,
889                                                                                         size_t __n ) ;   889                                                                                         size_t __n ) ;
890 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,   890 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memset)(void *__s ,
891                                                                                      int __c ,   891                                                                                      int __c ,
892                                                                                      size_t __n ) ;   892                                                                                      size_t __n ) ;
893 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,   893 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) memcmp)(void const   *__s1 ,
894                                                                                      void const   *__s2 ,   894                                                                                      void const   *__s2 ,
895                                                                                      size_t __n )  __attribute__((__pure__)) ;   895                                                                                      size_t __n )  __attribute__((__pure__)) ;
896 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,   896 extern  __attribute__((__nothrow__)) void *( __attribute__((__nonnull__(1))) memchr)(void const   *__s ,
897                                                                                      int __c ,   897                                                                                      int __c ,
898                                                                                      size_t __n )  __attribute__((__pure__)) ;   898                                                                                      size_t __n )  __attribute__((__pure__)) ;
899 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,   899 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcpy)(char * __restrict  __dest ,
900                                                                                        char const   * __restrict  __src ) ;   900                                                                                        char const   * __restrict  __src ) ;
901 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,   901 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncpy)(char * __restrict  __dest ,
902                                                                                         char const   * __restrict  __src ,   902                                                                                         char const   * __restrict  __src ,
903                                                                                         size_t __n ) ;   903                                                                                         size_t __n ) ;
904 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,   904 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strcat)(char * __restrict  __dest ,
905                                                                                        char const   * __restrict  __src ) ;   905                                                                                        char const   * __restrict  __src ) ;
906 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,   906 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strncat)(char * __restrict  __dest ,
907                                                                                         char const   * __restrict  __src ,   907                                                                                         char const   * __restrict  __src ,
908                                                                                         size_t __n ) ;   908                                                                                         size_t __n ) ;
909 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,   909 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcmp)(char const   *__s1 ,
910                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;   910                                                                                      char const   *__s2 )  __attribute__((__pure__)) ;
911 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,   911 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncmp)(char const   *__s1 ,
912                                                                                       char const   *__s2 ,   912                                                                                       char const   *__s2 ,
913                                                                                       size_t __n )  __attribute__((__pure__)) ;   913                                                                                       size_t __n )  __attribute__((__pure__)) ;
914 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,   914 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcoll)(char const   *__s1 ,
915                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;   915                                                                                       char const   *__s2 )  __attribute__((__pure__)) ;
916 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,   916 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2))) strxfrm)(char * __restrict  __dest ,
917                                                                                        char const   * __restrict  __src ,   917                                                                                        char const   * __restrict  __src ,
918                                                                                        size_t __n ) ;   918                                                                                        size_t __n ) ;
919 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,   919 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) strcoll_l)(char const   *__s1 ,
920                                                                                           char const   *__s2 ,   920                                                                                           char const   *__s2 ,
921                                                                                           __locale_t __l )  __attribute__((__pure__)) ;   921                                                                                           __locale_t __l )  __attribute__((__pure__)) ;
922 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,   922 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(2,4))) strxfrm_l)(char *__dest ,
923                                                                                            char const   *__src ,   923                                                                                            char const   *__src ,
924                                                                                            size_t __n ,   924                                                                                            size_t __n ,
925                                                                                            __locale_t __l ) ;   925                                                                                            __locale_t __l ) ;
926 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;   926 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strdup)(char const   *__s )  __attribute__((__malloc__)) ;
927 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,   927 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strndup)(char const   *__string ,
928                                                                                       size_t __n )  __attribute__((__malloc__)) ;   928                                                                                       size_t __n )  __attribute__((__malloc__)) ;
929 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,   929 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strchr)(char const   *__s ,
930                                                                                      int __c )  __attribute__((__pure__)) ;   930                                                                                      int __c )  __attribute__((__pure__)) ;
931 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,   931 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) strrchr)(char const   *__s ,
932                                                                                       int __c )  __attribute__((__pure__)) ;   932                                                                                       int __c )  __attribute__((__pure__)) ;
933 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,   933 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strcspn)(char const   *__s ,
934                                                                                          char const   *__reject )  __attribute__((__pure__)) ;   934                                                                                          char const   *__reject )  __attribute__((__pure__)) ;
935 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,   935 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1,2))) strspn)(char const   *__s ,
936                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   936                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
937 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,   937 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strpbrk)(char const   *__s ,
938                                                                                         char const   *__accept )  __attribute__((__pure__)) ;   938                                                                                         char const   *__accept )  __attribute__((__pure__)) ;
939 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,   939 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strstr)(char const   *__haystack ,
940                                                                                        char const   *__needle )  __attribute__((__pure__)) ;   940                                                                                        char const   *__needle )  __attribute__((__pure__)) ;
941 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,   941 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) strtok)(char * __restrict  __s ,
942                                                                                      char const   * __restrict  __delim ) ;   942                                                                                      char const   * __restrict  __delim ) ;
943 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,   943 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) __strtok_r)(char * __restrict  __s ,
944                                                                                            char const   * __restrict  __delim ,   944                                                                                            char const   * __restrict  __delim ,
945                                                                                            char ** __restrict  __save_ptr ) ;   945                                                                                            char ** __restrict  __save_ptr ) ;
946 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,   946 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2,3))) strtok_r)(char * __restrict  __s ,
947                                                                                          char const   * __restrict  __delim ,   947                                                                                          char const   * __restrict  __delim ,
948                                                                                          char ** __restrict  __save_ptr ) ;   948                                                                                          char ** __restrict  __save_ptr ) ;
949 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;   949 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strlen)(char const   *__s )  __attribute__((__pure__)) ;
950 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,   950 extern  __attribute__((__nothrow__)) size_t ( __attribute__((__nonnull__(1))) strnlen)(char const   *__string ,
951                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;   951                                                                                        size_t __maxlen )  __attribute__((__pure__)) ;
952 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;   952 extern  __attribute__((__nothrow__)) char *strerror(int __errnum ) ;
953 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,   953 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) strerror_r)(int __errnum ,
954                                                                                        char *__buf ,   954                                                                                        char *__buf ,
955                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;   955                                                                                        size_t __buflen )  __asm__("__xpg_strerror_r")  ;
956 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,   956 extern  __attribute__((__nothrow__)) char *strerror_l(int __errnum ,
957                                                       __locale_t __l ) ;   957                                                       __locale_t __l ) ;
958 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,   958 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) __bzero)(void *__s ,
959                                                                                      size_t __n ) ;   959                                                                                      size_t __n ) ;
960 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,   960 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1,2))) bcopy)(void const   *__src ,
961                                                                                      void *__dest ,   961                                                                                      void *__dest ,
962                                                                                      size_t __n ) ;   962                                                                                      size_t __n ) ;
963 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,   963 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) bzero)(void *__s ,
964                                                                                    size_t __n ) ;   964                                                                                    size_t __n ) ;
965 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,   965 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) bcmp)(void const   *__s1 ,
966                                                                                    void const   *__s2 ,   966                                                                                    void const   *__s2 ,
967                                                                                    size_t __n )  __attribute__((__pure__)) ;   967                                                                                    size_t __n )  __attribute__((__pure__)) ;
968 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,   968 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) index)(char const   *__s ,
969                                                                                     int __c )  __attribute__((__pure__)) ;   969                                                                                     int __c )  __attribute__((__pure__)) ;
970 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,   970 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) rindex)(char const   *__s ,
971                                                                                      int __c )  __attribute__((__pure__)) ;   971                                                                                      int __c )  __attribute__((__pure__)) ;
972 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;   972 extern  __attribute__((__nothrow__)) int ffs(int __i )  __attribute__((__const__)) ;
973 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,   973 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strcasecmp)(char const   *__s1 ,
974                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;   974                                                                                          char const   *__s2 )  __attribute__((__pure__)) ;
975 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,   975 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) strncasecmp)(char const   *__s1 ,
976                                                                                           char const   *__s2 ,   976                                                                                           char const   *__s2 ,
977                                                                                           size_t __n )  __attribute__((__pure__)) ;   977                                                                                           size_t __n )  __attribute__((__pure__)) ;
978 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,   978 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) strsep)(char ** __restrict  __stringp ,
979                                                                                        char const   * __restrict  __delim ) ;   979                                                                                        char const   * __restrict  __delim ) ;
980 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;   980 extern  __attribute__((__nothrow__)) char *strsignal(int __sig ) ;
981 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,   981 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpcpy)(char * __restrict  __dest ,
982                                                                                          char const   * __restrict  __src ) ;   982                                                                                          char const   * __restrict  __src ) ;
983 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,   983 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpcpy)(char * __restrict  __dest ,
984                                                                                        char const   * __restrict  __src ) ;   984                                                                                        char const   * __restrict  __src ) ;
985 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,   985 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) __stpncpy)(char * __restrict  __dest ,
986                                                                                           char const   * __restrict  __src ,   986                                                                                           char const   * __restrict  __src ,
987                                                                                           size_t __n ) ;   987                                                                                           size_t __n ) ;
988 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,   988 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1,2))) stpncpy)(char * __restrict  __dest ,
989                                                                                         char const   * __restrict  __src ,   989                                                                                         char const   * __restrict  __src ,
990                                                                                         size_t __n ) ;   990                                                                                         size_t __n ) ;
991 extern void *__rawmemchr(void const   *__s , int __c ) ;   991 extern void *__rawmemchr(void const   *__s , int __c ) ;
992 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;   992 __inline extern size_t __strcspn_c1(char const   *__s , int __reject ) ;
993 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )   993 __inline extern size_t __strcspn_c1(char const   *__s , int __reject )
994 {   994 {
995   register size_t __result ;   995   register size_t __result ;
996     996  
997   {   997   {
998   __result = (size_t )0;   998   __result = (size_t )0;
999   while (1) {   999   while (1) {
1000     if ((int const   )*(__s + __result) != 0) {   1000     if ((int const   )*(__s + __result) != 0) {
1001       if ((int const   )*(__s + __result) != (int const   )__reject) {   1001       if ((int const   )*(__s + __result) != (int const   )__reject) {
1002     1002  
1003       } else {   1003       } else {
1004         break;   1004         break;
1005       }   1005       }
1006     } else {   1006     } else {
1007       break;   1007       break;
1008     }   1008     }
1009     __result ++;   1009     __result ++;
1010   }   1010   }
1011   return (__result);   1011   return (__result);
1012 }   1012 }
1013 }   1013 }
1014 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   1014 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
1015                                     int __reject2 ) ;   1015                                     int __reject2 ) ;
1016 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,   1016 __inline extern size_t __strcspn_c2(char const   *__s , int __reject1 ,
1017                                     int __reject2 )   1017                                     int __reject2 )
1018 {   1018 {
1019   register size_t __result ;   1019   register size_t __result ;
1020     1020  
1021   {   1021   {
1022   __result = (size_t )0;   1022   __result = (size_t )0;
1023   while (1) {   1023   while (1) {
1024     if ((int const   )*(__s + __result) != 0) {   1024     if ((int const   )*(__s + __result) != 0) {
1025       if ((int const   )*(__s + __result) != (int const   )__reject1) {   1025       if ((int const   )*(__s + __result) != (int const   )__reject1) {
1026         if ((int const   )*(__s + __result) != (int const   )__reject2) {   1026         if ((int const   )*(__s + __result) != (int const   )__reject2) {
1027     1027  
1028         } else {   1028         } else {
1029           break;   1029           break;
1030         }   1030         }
1031       } else {   1031       } else {
1032         break;   1032         break;
1033       }   1033       }
1034     } else {   1034     } else {
1035       break;   1035       break;
1036     }   1036     }
1037     __result ++;   1037     __result ++;
1038   }   1038   }
1039   return (__result);   1039   return (__result);
1040 }   1040 }
1041 }   1041 }
1042 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   1042 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
1043                                     int __reject2 , int __reject3 ) ;   1043                                     int __reject2 , int __reject3 ) ;
1044 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,   1044 __inline extern size_t __strcspn_c3(char const   *__s , int __reject1 ,
1045                                     int __reject2 , int __reject3 )   1045                                     int __reject2 , int __reject3 )
1046 {   1046 {
1047   register size_t __result ;   1047   register size_t __result ;
1048     1048  
1049   {   1049   {
1050   __result = (size_t )0;   1050   __result = (size_t )0;
1051   while (1) {   1051   while (1) {
1052     if ((int const   )*(__s + __result) != 0) {   1052     if ((int const   )*(__s + __result) != 0) {
1053       if ((int const   )*(__s + __result) != (int const   )__reject1) {   1053       if ((int const   )*(__s + __result) != (int const   )__reject1) {
1054         if ((int const   )*(__s + __result) != (int const   )__reject2) {   1054         if ((int const   )*(__s + __result) != (int const   )__reject2) {
1055           if ((int const   )*(__s + __result) != (int const   )__reject3) {   1055           if ((int const   )*(__s + __result) != (int const   )__reject3) {
1056     1056  
1057           } else {   1057           } else {
1058             break;   1058             break;
1059           }   1059           }
1060         } else {   1060         } else {
1061           break;   1061           break;
1062         }   1062         }
1063       } else {   1063       } else {
1064         break;   1064         break;
1065       }   1065       }
1066     } else {   1066     } else {
1067       break;   1067       break;
1068     }   1068     }
1069     __result ++;   1069     __result ++;
1070   }   1070   }
1071   return (__result);   1071   return (__result);
1072 }   1072 }
1073 }   1073 }
1074 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;   1074 __inline extern size_t __strspn_c1(char const   *__s , int __accept ) ;
1075 __inline extern size_t __strspn_c1(char const   *__s , int __accept )   1075 __inline extern size_t __strspn_c1(char const   *__s , int __accept )
1076 {   1076 {
1077   register size_t __result ;   1077   register size_t __result ;
1078     1078  
1079   {   1079   {
1080   __result = (size_t )0;   1080   __result = (size_t )0;
1081   while ((int const   )*(__s + __result) == (int const   )__accept) {   1081   while ((int const   )*(__s + __result) == (int const   )__accept) {
1082     __result ++;   1082     __result ++;
1083   }   1083   }
1084   return (__result);   1084   return (__result);
1085 }   1085 }
1086 }   1086 }
1087 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   1087 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
1088                                    int __accept2 ) ;   1088                                    int __accept2 ) ;
1089 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,   1089 __inline extern size_t __strspn_c2(char const   *__s , int __accept1 ,
1090                                    int __accept2 )   1090                                    int __accept2 )
1091 {   1091 {
1092   register size_t __result ;   1092   register size_t __result ;
1093     1093  
1094   {   1094   {
1095   __result = (size_t )0;   1095   __result = (size_t )0;
1096   while (1) {   1096   while (1) {
1097     if ((int const   )*(__s + __result) == (int const   )__accept1) {   1097     if ((int const   )*(__s + __result) == (int const   )__accept1) {
1098     1098  
1099     } else   1099     } else
1100     if ((int const   )*(__s + __result) == (int const   )__accept2) {   1100     if ((int const   )*(__s + __result) == (int const   )__accept2) {
1101     1101  
1102     } else {   1102     } else {
1103       break;   1103       break;
1104     }   1104     }
1105     __result ++;   1105     __result ++;
1106   }   1106   }
1107   return (__result);   1107   return (__result);
1108 }   1108 }
1109 }   1109 }
1110 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   1110 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
1111                                    int __accept2 , int __accept3 ) ;   1111                                    int __accept2 , int __accept3 ) ;
1112 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,   1112 __inline extern size_t __strspn_c3(char const   *__s , int __accept1 ,
1113                                    int __accept2 , int __accept3 )   1113                                    int __accept2 , int __accept3 )
1114 {   1114 {
1115   register size_t __result ;   1115   register size_t __result ;
1116     1116  
1117   {   1117   {
1118   __result = (size_t )0;   1118   __result = (size_t )0;
1119   while (1) {   1119   while (1) {
1120     if ((int const   )*(__s + __result) == (int const   )__accept1) {   1120     if ((int const   )*(__s + __result) == (int const   )__accept1) {
1121     1121  
1122     } else   1122     } else
1123     if ((int const   )*(__s + __result) == (int const   )__accept2) {   1123     if ((int const   )*(__s + __result) == (int const   )__accept2) {
1124     1124  
1125     } else   1125     } else
1126     if ((int const   )*(__s + __result) == (int const   )__accept3) {   1126     if ((int const   )*(__s + __result) == (int const   )__accept3) {
1127     1127  
1128     } else {   1128     } else {
1129       break;   1129       break;
1130     }   1130     }
1131     __result ++;   1131     __result ++;
1132   }   1132   }
1133   return (__result);   1133   return (__result);
1134 }   1134 }
1135 }   1135 }
1136 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   1136 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
1137                                    int __accept2 ) ;   1137                                    int __accept2 ) ;
1138 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,   1138 __inline extern char *__strpbrk_c2(char const   *__s , int __accept1 ,
1139                                    int __accept2 )   1139                                    int __accept2 )
1140 {   1140 {
1141   char *tmp ;   1141   char *tmp ;
1142     1142  
1143   {   1143   {
1144   while (1) {   1144   while (1) {
1145     if ((int const   )*__s != 0) {   1145     if ((int const   )*__s != 0) {
1146       if ((int const   )*__s != (int const   )__accept1) {   1146       if ((int const   )*__s != (int const   )__accept1) {
1147         if ((int const   )*__s != (int const   )__accept2) {   1147         if ((int const   )*__s != (int const   )__accept2) {
1148     1148  
1149         } else {   1149         } else {
1150           break;   1150           break;
1151         }   1151         }
1152       } else {   1152       } else {
1153         break;   1153         break;
1154       }   1154       }
1155     } else {   1155     } else {
1156       break;   1156       break;
1157     }   1157     }
1158     __s ++;   1158     __s ++;
1159   }   1159   }
1160   if ((int const   )*__s == 0) {   1160   if ((int const   )*__s == 0) {
1161     tmp = (char *)((void *)0);   1161     tmp = (char *)((void *)0);
1162   } else {   1162   } else {
1163     tmp = (char *)((size_t )__s);   1163     tmp = (char *)((size_t )__s);
1164   }   1164   }
1165   return (tmp);   1165   return (tmp);
1166 }   1166 }
1167 }   1167 }
1168 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   1168 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
1169                                    int __accept2 , int __accept3 ) ;   1169                                    int __accept2 , int __accept3 ) ;
1170 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,   1170 __inline extern char *__strpbrk_c3(char const   *__s , int __accept1 ,
1171                                    int __accept2 , int __accept3 )   1171                                    int __accept2 , int __accept3 )
1172 {   1172 {
1173   char *tmp ;   1173   char *tmp ;
1174     1174  
1175   {   1175   {
1176   while (1) {   1176   while (1) {
1177     if ((int const   )*__s != 0) {   1177     if ((int const   )*__s != 0) {
1178       if ((int const   )*__s != (int const   )__accept1) {   1178       if ((int const   )*__s != (int const   )__accept1) {
1179         if ((int const   )*__s != (int const   )__accept2) {   1179         if ((int const   )*__s != (int const   )__accept2) {
1180           if ((int const   )*__s != (int const   )__accept3) {   1180           if ((int const   )*__s != (int const   )__accept3) {
1181     1181  
1182           } else {   1182           } else {
1183             break;   1183             break;
1184           }   1184           }
1185         } else {   1185         } else {
1186           break;   1186           break;
1187         }   1187         }
1188       } else {   1188       } else {
1189         break;   1189         break;
1190       }   1190       }
1191     } else {   1191     } else {
1192       break;   1192       break;
1193     }   1193     }
1194     __s ++;   1194     __s ++;
1195   }   1195   }
1196   if ((int const   )*__s == 0) {   1196   if ((int const   )*__s == 0) {
1197     tmp = (char *)((void *)0);   1197     tmp = (char *)((void *)0);
1198   } else {   1198   } else {
1199     tmp = (char *)((size_t )__s);   1199     tmp = (char *)((size_t )__s);
1200   }   1200   }
1201   return (tmp);   1201   return (tmp);
1202 }   1202 }
1203 }   1203 }
1204 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;   1204 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp ) ;
1205 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )   1205 __inline extern char *__strtok_r_1c(char *__s , char __sep , char **__nextp )
1206 {   1206 {
1207   char *__result ;   1207   char *__result ;
1208   char *tmp ;   1208   char *tmp ;
1209   char *tmp___0 ;   1209   char *tmp___0 ;
1210     1210  
1211   {   1211   {
1212   if ((unsigned int )__s == (unsigned int )((void *)0)) {   1212   if ((unsigned int )__s == (unsigned int )((void *)0)) {
1213     __s = *__nextp;   1213     __s = *__nextp;
1214   } else {   1214   } else {
1215     1215  
1216   }   1216   }
1217   while ((int )*__s == (int )__sep) {   1217   while ((int )*__s == (int )__sep) {
1218     __s ++;   1218     __s ++;
1219   }   1219   }
1220   __result = (char *)((void *)0);   1220   __result = (char *)((void *)0);
1221   if ((int )*__s != 0) {   1221   if ((int )*__s != 0) {
1222     tmp = __s;   1222     tmp = __s;
1223     __s ++;   1223     __s ++;
1224     __result = tmp;   1224     __result = tmp;
1225     while ((int )*__s != 0) {   1225     while ((int )*__s != 0) {
1226       tmp___0 = __s;   1226       tmp___0 = __s;
1227       __s ++;   1227       __s ++;
1228       if ((int )*tmp___0 == (int )__sep) {   1228       if ((int )*tmp___0 == (int )__sep) {
1229         *(__s + -1) = (char )'\000';   1229         *(__s + -1) = (char )'\000';
1230         break;   1230         break;
1231       } else {   1231       } else {
1232     1232  
1233       }   1233       }
1234     }   1234     }
1235   } else {   1235   } else {
1236     1236  
1237   }   1237   }
1238   *__nextp = __s;   1238   *__nextp = __s;
1239   return (__result);   1239   return (__result);
1240 }   1240 }
1241 }   1241 }
1242 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;   1242 extern char *__strsep_g(char **__stringp , char const   *__delim ) ;
1243 __inline extern char *__strsep_1c(char **__s , char __reject ) ;   1243 __inline extern char *__strsep_1c(char **__s , char __reject ) ;
1244 __inline extern char *__strsep_1c(char **__s , char __reject )   1244 __inline extern char *__strsep_1c(char **__s , char __reject )
1245 {   1245 {
1246   register char *__retval ;   1246   register char *__retval ;
1247   char *tmp ;   1247   char *tmp ;
1248   char *tmp___0 ;   1248   char *tmp___0 ;
1249   void *tmp___1 ;   1249   void *tmp___1 ;
1250   char *tmp___2 ;   1250   char *tmp___2 ;
1251     1251  
1252   {   1252   {
1253   __retval = *__s;   1253   __retval = *__s;
1254   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   1254   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
1255     tmp___2 = __builtin_strchr(__retval, (int )__reject);   1255     tmp___2 = __builtin_strchr(__retval, (int )__reject);
1256     tmp___0 = tmp___2;   1256     tmp___0 = tmp___2;
1257     *__s = tmp___0;   1257     *__s = tmp___0;
1258     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {   1258     if ((unsigned int )tmp___0 != (unsigned int )((void *)0)) {
1259       tmp = *__s;   1259       tmp = *__s;
1260       (*__s) ++;   1260       (*__s) ++;
1261       *tmp = (char )'\000';   1261       *tmp = (char )'\000';
1262     } else {   1262     } else {
1263     1263  
1264     }   1264     }
1265   } else {   1265   } else {
1266     1266  
1267   }   1267   }
1268   return (__retval);   1268   return (__retval);
1269 }   1269 }
1270 }   1270 }
1271 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;   1271 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 ) ;
1272 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )   1272 __inline extern char *__strsep_2c(char **__s , char __reject1 , char __reject2 )
1273 {   1273 {
1274   register char *__retval ;   1274   register char *__retval ;
1275   register char *__cp ;   1275   register char *__cp ;
1276   char *tmp ;   1276   char *tmp ;
1277     1277  
1278   {   1278   {
1279   __retval = *__s;   1279   __retval = *__s;
1280   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   1280   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
1281     __cp = __retval;   1281     __cp = __retval;
1282     while (1) {   1282     while (1) {
1283       if ((int )*__cp == 0) {   1283       if ((int )*__cp == 0) {
1284         __cp = (char *)((void *)0);   1284         __cp = (char *)((void *)0);
1285         break;   1285         break;
1286       } else {   1286       } else {
1287     1287  
1288       }   1288       }
1289       if ((int )*__cp == (int )__reject1) {   1289       if ((int )*__cp == (int )__reject1) {
1290         tmp = __cp;   1290         tmp = __cp;
1291         __cp ++;   1291         __cp ++;
1292         *tmp = (char )'\000';   1292         *tmp = (char )'\000';
1293         break;   1293         break;
1294       } else   1294       } else
1295       if ((int )*__cp == (int )__reject2) {   1295       if ((int )*__cp == (int )__reject2) {
1296         tmp = __cp;   1296         tmp = __cp;
1297         __cp ++;   1297         __cp ++;
1298         *tmp = (char )'\000';   1298         *tmp = (char )'\000';
1299         break;   1299         break;
1300       } else {   1300       } else {
1301     1301  
1302       }   1302       }
1303       __cp ++;   1303       __cp ++;
1304     }   1304     }
1305     *__s = __cp;   1305     *__s = __cp;
1306   } else {   1306   } else {
1307     1307  
1308   }   1308   }
1309   return (__retval);   1309   return (__retval);
1310 }   1310 }
1311 }   1311 }
1312 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   1312 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
1313                                   char __reject3 ) ;   1313                                   char __reject3 ) ;
1314 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,   1314 __inline extern char *__strsep_3c(char **__s , char __reject1 , char __reject2 ,
1315                                   char __reject3 )   1315                                   char __reject3 )
1316 {   1316 {
1317   register char *__retval ;   1317   register char *__retval ;
1318   register char *__cp ;   1318   register char *__cp ;
1319   char *tmp ;   1319   char *tmp ;
1320     1320  
1321   {   1321   {
1322   __retval = *__s;   1322   __retval = *__s;
1323   if ((unsigned int )__retval != (unsigned int )((void *)0)) {   1323   if ((unsigned int )__retval != (unsigned int )((void *)0)) {
1324     __cp = __retval;   1324     __cp = __retval;
1325     while (1) {   1325     while (1) {
1326       if ((int )*__cp == 0) {   1326       if ((int )*__cp == 0) {
1327         __cp = (char *)((void *)0);   1327         __cp = (char *)((void *)0);
1328         break;   1328         break;
1329       } else {   1329       } else {
1330     1330  
1331       }   1331       }
1332       if ((int )*__cp == (int )__reject1) {   1332       if ((int )*__cp == (int )__reject1) {
1333         tmp = __cp;   1333         tmp = __cp;
1334         __cp ++;   1334         __cp ++;
1335         *tmp = (char )'\000';   1335         *tmp = (char )'\000';
1336         break;   1336         break;
1337       } else   1337       } else
1338       if ((int )*__cp == (int )__reject2) {   1338       if ((int )*__cp == (int )__reject2) {
1339         tmp = __cp;   1339         tmp = __cp;
1340         __cp ++;   1340         __cp ++;
1341         *tmp = (char )'\000';   1341         *tmp = (char )'\000';
1342         break;   1342         break;
1343       } else   1343       } else
1344       if ((int )*__cp == (int )__reject3) {   1344       if ((int )*__cp == (int )__reject3) {
1345         tmp = __cp;   1345         tmp = __cp;
1346         __cp ++;   1346         __cp ++;
1347         *tmp = (char )'\000';   1347         *tmp = (char )'\000';
1348         break;   1348         break;
1349       } else {   1349       } else {
1350     1350  
1351       }   1351       }
1352       __cp ++;   1352       __cp ++;
1353     }   1353     }
1354     *__s = __cp;   1354     *__s = __cp;
1355   } else {   1355   } else {
1356     1356  
1357   }   1357   }
1358   return (__retval);   1358   return (__retval);
1359 }   1359 }
1360 }   1360 }
1361 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;   1361 extern  __attribute__((__nothrow__)) void *malloc(size_t __size )  __attribute__((__malloc__)) ;
1362 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,   1362 extern  __attribute__((__nothrow__)) void *calloc(size_t __nmemb ,
1363                                                   size_t __size )  __attribute__((__malloc__)) ;   1363                                                   size_t __size )  __attribute__((__malloc__)) ;
1364 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;   1364 extern  __attribute__((__nothrow__)) char *__strdup(char const   *__string )  __attribute__((__malloc__)) ;
1365 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,   1365 extern  __attribute__((__nothrow__)) char *__strndup(char const   *__string ,
1366                                                      size_t __n )  __attribute__((__malloc__)) ;   1366                                                      size_t __n )  __attribute__((__malloc__)) ;
1367 extern  __attribute__((__nothrow__,   1367 extern  __attribute__((__nothrow__,
1368 __noreturn__)) void __assert_fail(char const   *__assertion ,   1368 __noreturn__)) void __assert_fail(char const   *__assertion ,
1369                                   char const   *__file , unsigned int __line ,   1369                                   char const   *__file , unsigned int __line ,
1370                                   char const   *__function ) ;   1370                                   char const   *__function ) ;
1371 extern  __attribute__((__nothrow__,   1371 extern  __attribute__((__nothrow__,
1372 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,   1372 __noreturn__)) void __assert_perror_fail(int __errnum , char const   *__file ,
1373                                          unsigned int __line ,   1373                                          unsigned int __line ,
1374                                          char const   *__function ) ;   1374                                          char const   *__function ) ;
1375 extern  __attribute__((__nothrow__,   1375 extern  __attribute__((__nothrow__,
1376 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,   1376 __noreturn__)) void __assert(char const   *__assertion , char const   *__file ,
1377                              int __line ) ;   1377                              int __line ) ;
1378 extern  __attribute__((__nothrow__)) void insque(void *__elem , void *__prev ) ;   1378 extern  __attribute__((__nothrow__)) void insque(void *__elem , void *__prev ) ;
1379 extern  __attribute__((__nothrow__)) void remque(void *__elem ) ;   1379 extern  __attribute__((__nothrow__)) void remque(void *__elem ) ;
1380 extern  __attribute__((__nothrow__)) ENTRY *hsearch(ENTRY __item ,   1380 extern  __attribute__((__nothrow__)) ENTRY *hsearch(ENTRY __item ,
1381                                                     ACTION __action ) ;   1381                                                     ACTION __action ) ;
1382 extern  __attribute__((__nothrow__)) int hcreate(size_t __nel ) ;   1382 extern  __attribute__((__nothrow__)) int hcreate(size_t __nel ) ;
1383 extern  __attribute__((__nothrow__)) void hdestroy(void) ;   1383 extern  __attribute__((__nothrow__)) void hdestroy(void) ;
1384 extern void *tsearch(void const   *__key , void **__rootp ,   1384 extern void *tsearch(void const   *__key , void **__rootp ,
1385                      int (*__compar)(void const   * , void const   * ) ) ;   1385                      int (*__compar)(void const   * , void const   * ) ) ;
1386 extern void *tfind(void const   *__key , void * const  *__rootp ,   1386 extern void *tfind(void const   *__key , void * const  *__rootp ,
1387                    int (*__compar)(void const   * , void const   * ) ) ;   1387                    int (*__compar)(void const   * , void const   * ) ) ;
1388 extern void *tdelete(void const   * __restrict  __key ,   1388 extern void *tdelete(void const   * __restrict  __key ,
1389                      void ** __restrict  __rootp ,   1389                      void ** __restrict  __rootp ,
1390                      int (*__compar)(void const   * , void const   * ) ) ;   1390                      int (*__compar)(void const   * , void const   * ) ) ;
1391 extern void twalk(void const   *__root ,   1391 extern void twalk(void const   *__root ,
1392                   void (*__action)(void const   *__nodep , VISIT __value ,   1392                   void (*__action)(void const   *__nodep , VISIT __value ,
1393                                    int __level ) ) ;   1393                                    int __level ) ) ;
1394 extern void *lfind(void const   *__key , void const   *__base ,   1394 extern void *lfind(void const   *__key , void const   *__base ,
1395                    size_t *__nmemb , size_t __size ,   1395                    size_t *__nmemb , size_t __size ,
1396                    int (*__compar)(void const   * , void const   * ) ) ;   1396                    int (*__compar)(void const   * , void const   * ) ) ;
1397 extern void *lsearch(void const   *__key , void *__base , size_t *__nmemb ,   1397 extern void *lsearch(void const   *__key , void *__base , size_t *__nmemb ,
1398                      size_t __size , int (*__compar)(void const   * ,   1398                      size_t __size , int (*__compar)(void const   * ,
1399                                                      void const   * ) ) ;   1399                                                      void const   * ) ) ;
1400 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;   1400 extern struct _IO_FILE_plus _IO_2_1_stdin_ ;
1401 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;   1401 extern struct _IO_FILE_plus _IO_2_1_stdout_ ;
1402 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;   1402 extern struct _IO_FILE_plus _IO_2_1_stderr_ ;
1403 extern int __underflow(_IO_FILE * ) ;   1403 extern int __underflow(_IO_FILE * ) ;
1404 extern int __uflow(_IO_FILE * ) ;   1404 extern int __uflow(_IO_FILE * ) ;
1405 extern int __overflow(_IO_FILE * , int  ) ;   1405 extern int __overflow(_IO_FILE * , int  ) ;
1406 extern int _IO_getc(_IO_FILE *__fp ) ;   1406 extern int _IO_getc(_IO_FILE *__fp ) ;
1407 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;   1407 extern int _IO_putc(int __c , _IO_FILE *__fp ) ;
1408 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;   1408 extern  __attribute__((__nothrow__)) int _IO_feof(_IO_FILE *__fp ) ;
1409 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;   1409 extern  __attribute__((__nothrow__)) int _IO_ferror(_IO_FILE *__fp ) ;
1410 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;   1410 extern int _IO_peekc_locked(_IO_FILE *__fp ) ;
1411 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;   1411 extern  __attribute__((__nothrow__)) void _IO_flockfile(_IO_FILE * ) ;
1412 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;   1412 extern  __attribute__((__nothrow__)) void _IO_funlockfile(_IO_FILE * ) ;
1413 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;   1413 extern  __attribute__((__nothrow__)) int _IO_ftrylockfile(_IO_FILE * ) ;
1414 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,   1414 extern int _IO_vfscanf(_IO_FILE * __restrict   , char const   * __restrict   ,
1415                        __gnuc_va_list  , int * __restrict   ) ;   1415                        __gnuc_va_list  , int * __restrict   ) ;
1416 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,   1416 extern int _IO_vfprintf(_IO_FILE * __restrict   , char const   * __restrict   ,
1417                         __gnuc_va_list  ) ;   1417                         __gnuc_va_list  ) ;
1418 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;   1418 extern __ssize_t _IO_padn(_IO_FILE * , int  , __ssize_t  ) ;
1419 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;   1419 extern size_t _IO_sgetn(_IO_FILE * , void * , size_t  ) ;
1420 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;   1420 extern __off64_t _IO_seekoff(_IO_FILE * , __off64_t  , int  , int  ) ;
1421 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;   1421 extern __off64_t _IO_seekpos(_IO_FILE * , __off64_t  , int  ) ;
1422 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;   1422 extern  __attribute__((__nothrow__)) void _IO_free_backup_area(_IO_FILE * ) ;
1423 extern struct _IO_FILE *stdin ;   1423 extern struct _IO_FILE *stdin ;
1424 extern struct _IO_FILE *stdout ;   1424 extern struct _IO_FILE *stdout ;
1425 extern struct _IO_FILE *stderr ;   1425 extern struct _IO_FILE *stderr ;
1426 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;   1426 extern  __attribute__((__nothrow__)) int remove(char const   *__filename ) ;
1427 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,   1427 extern  __attribute__((__nothrow__)) int rename(char const   *__old ,
1428                                                 char const   *__new ) ;   1428                                                 char const   *__new ) ;
1429 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,   1429 extern  __attribute__((__nothrow__)) int renameat(int __oldfd ,
1430                                                   char const   *__old ,   1430                                                   char const   *__old ,
1431                                                   int __newfd ,   1431                                                   int __newfd ,
1432                                                   char const   *__new ) ;   1432                                                   char const   *__new ) ;
1433 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;   1433 extern FILE *tmpfile(void)  __asm__("tmpfile64")  ;
1434 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;   1434 extern  __attribute__((__nothrow__)) char *tmpnam(char *__s ) ;
1435 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;   1435 extern  __attribute__((__nothrow__)) char *tmpnam_r(char *__s ) ;
1436 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,   1436 extern  __attribute__((__nothrow__)) char *tempnam(char const   *__dir ,
1437                                                    char const   *__pfx )  __attribute__((__malloc__)) ;   1437                                                    char const   *__pfx )  __attribute__((__malloc__)) ;
1438 extern int fclose(FILE *__stream ) ;   1438 extern int fclose(FILE *__stream ) ;
1439 extern int fflush(FILE *__stream ) ;   1439 extern int fflush(FILE *__stream ) ;
1440 extern int fflush_unlocked(FILE *__stream ) ;   1440 extern int fflush_unlocked(FILE *__stream ) ;
1441 extern FILE *fopen(char const   * __restrict  __filename ,   1441 extern FILE *fopen(char const   * __restrict  __filename ,
1442                    char const   * __restrict  __modes )  __asm__("fopen64")  ;   1442                    char const   * __restrict  __modes )  __asm__("fopen64")  ;
1443 extern FILE *freopen(char const   * __restrict  __filename ,   1443 extern FILE *freopen(char const   * __restrict  __filename ,
1444                      char const   * __restrict  __modes ,   1444                      char const   * __restrict  __modes ,
1445                      FILE * __restrict  __stream )  __asm__("freopen64")  ;   1445                      FILE * __restrict  __stream )  __asm__("freopen64")  ;
1446 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,   1446 extern  __attribute__((__nothrow__)) FILE *fdopen(int __fd ,
1447                                                   char const   *__modes ) ;   1447                                                   char const   *__modes ) ;
1448 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,   1448 extern  __attribute__((__nothrow__)) FILE *fmemopen(void *__s , size_t __len ,
1449                                                     char const   *__modes ) ;   1449                                                     char const   *__modes ) ;
1450 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,   1450 extern  __attribute__((__nothrow__)) FILE *open_memstream(char **__bufloc ,
1451                                                           size_t *__sizeloc ) ;   1451                                                           size_t *__sizeloc ) ;
1452 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,   1452 extern  __attribute__((__nothrow__)) void setbuf(FILE * __restrict  __stream ,
1453                                                  char * __restrict  __buf ) ;   1453                                                  char * __restrict  __buf ) ;
1454 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,   1454 extern  __attribute__((__nothrow__)) int setvbuf(FILE * __restrict  __stream ,
1455                                                  char * __restrict  __buf ,   1455                                                  char * __restrict  __buf ,
1456                                                  int __modes , size_t __n ) ;   1456                                                  int __modes , size_t __n ) ;
1457 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,   1457 extern  __attribute__((__nothrow__)) void setbuffer(FILE * __restrict  __stream ,
1458                                                     char * __restrict  __buf ,   1458                                                     char * __restrict  __buf ,
1459                                                     size_t __size ) ;   1459                                                     size_t __size ) ;
1460 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;   1460 extern  __attribute__((__nothrow__)) void setlinebuf(FILE *__stream ) ;
1461 extern int fprintf(FILE * __restrict  __stream ,   1461 extern int fprintf(FILE * __restrict  __stream ,
1462                    char const   * __restrict  __format  , ...) ;   1462                    char const   * __restrict  __format  , ...) ;
1463 extern int printf(char const   * __restrict  __format  , ...) ;   1463 extern int printf(char const   * __restrict  __format  , ...) ;
1464 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,   1464 extern  __attribute__((__nothrow__)) int sprintf(char * __restrict  __s ,
1465                                                  char const   * __restrict  __format   1465                                                  char const   * __restrict  __format
1466                                                  , ...) ;   1466                                                  , ...) ;
1467 extern int vfprintf(FILE * __restrict  __s ,   1467 extern int vfprintf(FILE * __restrict  __s ,
1468                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;   1468                     char const   * __restrict  __format , __gnuc_va_list __arg ) ;
1469 __inline extern int vprintf(char const   * __restrict  __fmt ,   1469 __inline extern int vprintf(char const   * __restrict  __fmt ,
1470                             __gnuc_va_list __arg ) ;   1470                             __gnuc_va_list __arg ) ;
1471 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,   1471 extern  __attribute__((__nothrow__)) int vsprintf(char * __restrict  __s ,
1472                                                   char const   * __restrict  __format ,   1472                                                   char const   * __restrict  __format ,
1473                                                   __gnuc_va_list __arg ) ;   1473                                                   __gnuc_va_list __arg ) ;
1474 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,   1474 extern  __attribute__((__nothrow__)) int ( /* format attribute */  snprintf)(char * __restrict  __s ,
1475                                                                              size_t __maxlen ,   1475                                                                              size_t __maxlen ,
1476                                                                              char const   * __restrict  __format   1476                                                                              char const   * __restrict  __format
1477                                                                              , ...) ;   1477                                                                              , ...) ;
1478 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,   1478 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsnprintf)(char * __restrict  __s ,
1479                                                                               size_t __maxlen ,   1479                                                                               size_t __maxlen ,
1480                                                                               char const   * __restrict  __format ,   1480                                                                               char const   * __restrict  __format ,
1481                                                                               __gnuc_va_list __arg ) ;   1481                                                                               __gnuc_va_list __arg ) ;
1482 extern int ( /* format attribute */  vdprintf)(int __fd ,   1482 extern int ( /* format attribute */  vdprintf)(int __fd ,
1483                                                char const   * __restrict  __fmt ,   1483                                                char const   * __restrict  __fmt ,
1484                                                __gnuc_va_list __arg ) ;   1484                                                __gnuc_va_list __arg ) ;
1485 extern int ( /* format attribute */  dprintf)(int __fd ,   1485 extern int ( /* format attribute */  dprintf)(int __fd ,
1486                                               char const   * __restrict  __fmt   1486                                               char const   * __restrict  __fmt
1487                                               , ...) ;   1487                                               , ...) ;
1488 extern int fscanf(FILE * __restrict  __stream ,   1488 extern int fscanf(FILE * __restrict  __stream ,
1489                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;   1489                   char const   * __restrict  __format  , ...)  __asm__("__isoc99_fscanf")  ;
1490 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;   1490 extern int scanf(char const   * __restrict  __format  , ...)  __asm__("__isoc99_scanf")  ;
1491 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,   1491 extern  __attribute__((__nothrow__)) int sscanf(char const   * __restrict  __s ,
1492                                                 char const   * __restrict  __format   1492                                                 char const   * __restrict  __format
1493                                                 , ...)  __asm__("__isoc99_sscanf")  ;   1493                                                 , ...)  __asm__("__isoc99_sscanf")  ;
1494 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,   1494 extern int ( /* format attribute */  vfscanf)(FILE * __restrict  __s ,
1495                                               char const   * __restrict  __format ,   1495                                               char const   * __restrict  __format ,
1496                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;   1496                                               __gnuc_va_list __arg )  __asm__("__isoc99_vfscanf")  ;
1497 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,   1497 extern int ( /* format attribute */  vscanf)(char const   * __restrict  __format ,
1498                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;   1498                                              __gnuc_va_list __arg )  __asm__("__isoc99_vscanf")  ;
1499 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,   1499 extern  __attribute__((__nothrow__)) int ( /* format attribute */  vsscanf)(char const   * __restrict  __s ,
1500                                                                             char const   * __restrict  __format ,   1500                                                                             char const   * __restrict  __format ,
1501                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;   1501                                                                             __gnuc_va_list __arg )  __asm__("__isoc99_vsscanf")  ;
1502 extern int fgetc(FILE *__stream ) ;   1502 extern int fgetc(FILE *__stream ) ;
1503 extern int getc(FILE *__stream ) ;   1503 extern int getc(FILE *__stream ) ;
1504 __inline extern int getchar(void) ;   1504 __inline extern int getchar(void) ;
1505 __inline extern int getc_unlocked(FILE *__fp ) ;   1505 __inline extern int getc_unlocked(FILE *__fp ) ;
1506 __inline extern int getchar_unlocked(void) ;   1506 __inline extern int getchar_unlocked(void) ;
1507 __inline extern int fgetc_unlocked(FILE *__fp ) ;   1507 __inline extern int fgetc_unlocked(FILE *__fp ) ;
1508 extern int fputc(int __c , FILE *__stream ) ;   1508 extern int fputc(int __c , FILE *__stream ) ;
1509 extern int putc(int __c , FILE *__stream ) ;   1509 extern int putc(int __c , FILE *__stream ) ;
1510 __inline extern int putchar(int __c ) ;   1510 __inline extern int putchar(int __c ) ;
1511 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;   1511 __inline extern int fputc_unlocked(int __c , FILE *__stream ) ;
1512 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;   1512 __inline extern int putc_unlocked(int __c , FILE *__stream ) ;
1513 __inline extern int putchar_unlocked(int __c ) ;   1513 __inline extern int putchar_unlocked(int __c ) ;
1514 extern int getw(FILE *__stream ) ;   1514 extern int getw(FILE *__stream ) ;
1515 extern int putw(int __w , FILE *__stream ) ;   1515 extern int putw(int __w , FILE *__stream ) ;
1516 extern char *fgets(char * __restrict  __s , int __n ,   1516 extern char *fgets(char * __restrict  __s , int __n ,
1517                    FILE * __restrict  __stream ) ;   1517                    FILE * __restrict  __stream ) ;
1518 extern char *gets(char *__s ) ;   1518 extern char *gets(char *__s ) ;
1519 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,   1519 extern __ssize_t __getdelim(char ** __restrict  __lineptr ,
1520                             size_t * __restrict  __n , int __delimiter ,   1520                             size_t * __restrict  __n , int __delimiter ,
1521                             FILE * __restrict  __stream ) ;   1521                             FILE * __restrict  __stream ) ;
1522 extern __ssize_t getdelim(char ** __restrict  __lineptr ,   1522 extern __ssize_t getdelim(char ** __restrict  __lineptr ,
1523                           size_t * __restrict  __n , int __delimiter ,   1523                           size_t * __restrict  __n , int __delimiter ,
1524                           FILE * __restrict  __stream ) ;   1524                           FILE * __restrict  __stream ) ;
1525 extern __ssize_t getline(char ** __restrict  __lineptr ,   1525 extern __ssize_t getline(char ** __restrict  __lineptr ,
1526                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;   1526                          size_t * __restrict  __n , FILE * __restrict  __stream ) ;
1527 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;   1527 extern int fputs(char const   * __restrict  __s , FILE * __restrict  __stream ) ;
1528 extern int puts(char const   *__s ) ;   1528 extern int puts(char const   *__s ) ;
1529 extern int ungetc(int __c , FILE *__stream ) ;   1529 extern int ungetc(int __c , FILE *__stream ) ;
1530 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,   1530 extern size_t fread(void * __restrict  __ptr , size_t __size , size_t __n ,
1531                     FILE * __restrict  __stream ) ;   1531                     FILE * __restrict  __stream ) ;
1532 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,   1532 extern size_t fwrite(void const   * __restrict  __ptr , size_t __size ,
1533                      size_t __n , FILE * __restrict  __s ) ;   1533                      size_t __n , FILE * __restrict  __s ) ;
1534 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,   1534 extern size_t fread_unlocked(void * __restrict  __ptr , size_t __size ,
1535                              size_t __n , FILE * __restrict  __stream ) ;   1535                              size_t __n , FILE * __restrict  __stream ) ;
1536 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,   1536 extern size_t fwrite_unlocked(void const   * __restrict  __ptr , size_t __size ,
1537                               size_t __n , FILE * __restrict  __stream ) ;   1537                               size_t __n , FILE * __restrict  __stream ) ;
1538 extern int fseek(FILE *__stream , long __off , int __whence ) ;   1538 extern int fseek(FILE *__stream , long __off , int __whence ) ;
1539 extern long ftell(FILE *__stream ) ;   1539 extern long ftell(FILE *__stream ) ;
1540 extern void rewind(FILE *__stream ) ;   1540 extern void rewind(FILE *__stream ) ;
1541 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;   1541 extern int fseeko(FILE *__stream , __off64_t __off , int __whence )  __asm__("fseeko64")  ;
1542 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;   1542 extern __off64_t ftello(FILE *__stream )  __asm__("ftello64")  ;
1543 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;   1543 extern int fgetpos(FILE * __restrict  __stream , fpos_t * __restrict  __pos )  __asm__("fgetpos64")  ;
1544 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;   1544 extern int fsetpos(FILE *__stream , fpos_t const   *__pos )  __asm__("fsetpos64")  ;
1545 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;   1545 extern  __attribute__((__nothrow__)) void clearerr(FILE *__stream ) ;
1546 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;   1546 extern  __attribute__((__nothrow__)) int feof(FILE *__stream ) ;
1547 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;   1547 extern  __attribute__((__nothrow__)) int ferror(FILE *__stream ) ;
1548 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;   1548 extern  __attribute__((__nothrow__)) void clearerr_unlocked(FILE *__stream ) ;
1549 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   1549 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
1550 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   1550 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
1551 extern void perror(char const   *__s ) ;   1551 extern void perror(char const   *__s ) ;
1552 extern int sys_nerr ;   1552 extern int sys_nerr ;
1553 extern char const   * const  sys_errlist[] ;   1553 extern char const   * const  sys_errlist[] ;
1554 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;   1554 extern  __attribute__((__nothrow__)) int fileno(FILE *__stream ) ;
1555 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;   1555 extern  __attribute__((__nothrow__)) int fileno_unlocked(FILE *__stream ) ;
1556 extern FILE *popen(char const   *__command , char const   *__modes ) ;   1556 extern FILE *popen(char const   *__command , char const   *__modes ) ;
1557 extern int pclose(FILE *__stream ) ;   1557 extern int pclose(FILE *__stream ) ;
1558 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;   1558 extern  __attribute__((__nothrow__)) char *ctermid(char *__s ) ;
1559 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;   1559 extern  __attribute__((__nothrow__)) void flockfile(FILE *__stream ) ;
1560 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;   1560 extern  __attribute__((__nothrow__)) int ftrylockfile(FILE *__stream ) ;
1561 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;   1561 extern  __attribute__((__nothrow__)) void funlockfile(FILE *__stream ) ;
1562 __inline extern int vprintf(char const   * __restrict  __fmt ,   1562 __inline extern int vprintf(char const   * __restrict  __fmt ,
1563                             __gnuc_va_list __arg )   1563                             __gnuc_va_list __arg )
1564 {   1564 {
1565   int tmp ;   1565   int tmp ;
1566     1566  
1567   {   1567   {
1568   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);   1568   tmp = vfprintf((FILE */* __restrict  */)stdout, __fmt, __arg);
1569   return (tmp);   1569   return (tmp);
1570 }   1570 }
1571 }   1571 }
1572 __inline extern int getchar(void)   1572 __inline extern int getchar(void)
1573 {   1573 {
1574   int tmp ;   1574   int tmp ;
1575     1575  
1576   {   1576   {
1577   tmp = _IO_getc(stdin);   1577   tmp = _IO_getc(stdin);
1578   return (tmp);   1578   return (tmp);
1579 }   1579 }
1580 }   1580 }
1581 __inline extern int fgetc_unlocked(FILE *__fp )   1581 __inline extern int fgetc_unlocked(FILE *__fp )
1582 {   1582 {
1583   long tmp ;   1583   long tmp ;
1584   int tmp___0 ;   1584   int tmp___0 ;
1585   char *tmp___1 ;   1585   char *tmp___1 ;
1586   int tmp___2 ;   1586   int tmp___2 ;
1587   long tmp___3 ;   1587   long tmp___3 ;
1588     1588  
1589   {   1589   {
1590   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   1590   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
1591                              0L);   1591                              0L);
1592   if (tmp___3) {   1592   if (tmp___3) {
1593     tmp___0 = __uflow(__fp);   1593     tmp___0 = __uflow(__fp);
1594     tmp___2 = tmp___0;   1594     tmp___2 = tmp___0;
1595   } else {   1595   } else {
1596     tmp___1 = __fp->_IO_read_ptr;   1596     tmp___1 = __fp->_IO_read_ptr;
1597     (__fp->_IO_read_ptr) ++;   1597     (__fp->_IO_read_ptr) ++;
1598     tmp___2 = (int )*((unsigned char *)tmp___1);   1598     tmp___2 = (int )*((unsigned char *)tmp___1);
1599   }   1599   }
1600   return (tmp___2);   1600   return (tmp___2);
1601 }   1601 }
1602 }   1602 }
1603 __inline extern int getc_unlocked(FILE *__fp )   1603 __inline extern int getc_unlocked(FILE *__fp )
1604 {   1604 {
1605   long tmp ;   1605   long tmp ;
1606   int tmp___0 ;   1606   int tmp___0 ;
1607   char *tmp___1 ;   1607   char *tmp___1 ;
1608   int tmp___2 ;   1608   int tmp___2 ;
1609   long tmp___3 ;   1609   long tmp___3 ;
1610     1610  
1611   {   1611   {
1612   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),   1612   tmp___3 = __builtin_expect((long )((unsigned int )__fp->_IO_read_ptr >= (unsigned int )__fp->_IO_read_end),
1613                              0L);   1613                              0L);
1614   if (tmp___3) {   1614   if (tmp___3) {
1615     tmp___0 = __uflow(__fp);   1615     tmp___0 = __uflow(__fp);
1616     tmp___2 = tmp___0;   1616     tmp___2 = tmp___0;
1617   } else {   1617   } else {
1618     tmp___1 = __fp->_IO_read_ptr;   1618     tmp___1 = __fp->_IO_read_ptr;
1619     (__fp->_IO_read_ptr) ++;   1619     (__fp->_IO_read_ptr) ++;
1620     tmp___2 = (int )*((unsigned char *)tmp___1);   1620     tmp___2 = (int )*((unsigned char *)tmp___1);
1621   }   1621   }
1622   return (tmp___2);   1622   return (tmp___2);
1623 }   1623 }
1624 }   1624 }
1625 __inline extern int getchar_unlocked(void)   1625 __inline extern int getchar_unlocked(void)
1626 {   1626 {
1627   long tmp ;   1627   long tmp ;
1628   int tmp___0 ;   1628   int tmp___0 ;
1629   char *tmp___1 ;   1629   char *tmp___1 ;
1630   int tmp___2 ;   1630   int tmp___2 ;
1631   long tmp___3 ;   1631   long tmp___3 ;
1632     1632  
1633   {   1633   {
1634   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),   1634   tmp___3 = __builtin_expect((long )((unsigned int )stdin->_IO_read_ptr >= (unsigned int )stdin->_IO_read_end),
1635                              0L);   1635                              0L);
1636   if (tmp___3) {   1636   if (tmp___3) {
1637     tmp___0 = __uflow(stdin);   1637     tmp___0 = __uflow(stdin);
1638     tmp___2 = tmp___0;   1638     tmp___2 = tmp___0;
1639   } else {   1639   } else {
1640     tmp___1 = stdin->_IO_read_ptr;   1640     tmp___1 = stdin->_IO_read_ptr;
1641     (stdin->_IO_read_ptr) ++;   1641     (stdin->_IO_read_ptr) ++;
1642     tmp___2 = (int )*((unsigned char *)tmp___1);   1642     tmp___2 = (int )*((unsigned char *)tmp___1);
1643   }   1643   }
1644   return (tmp___2);   1644   return (tmp___2);
1645 }   1645 }
1646 }   1646 }
1647 __inline extern int putchar(int __c )   1647 __inline extern int putchar(int __c )
1648 {   1648 {
1649   int tmp ;   1649   int tmp ;
1650     1650  
1651   {   1651   {
1652   tmp = _IO_putc(__c, stdout);   1652   tmp = _IO_putc(__c, stdout);
1653   return (tmp);   1653   return (tmp);
1654 }   1654 }
1655 }   1655 }
1656 __inline extern int fputc_unlocked(int __c , FILE *__stream )   1656 __inline extern int fputc_unlocked(int __c , FILE *__stream )
1657 {   1657 {
1658   long tmp ;   1658   long tmp ;
1659   int tmp___0 ;   1659   int tmp___0 ;
1660   char *tmp___1 ;   1660   char *tmp___1 ;
1661   char tmp___2 ;   1661   char tmp___2 ;
1662   int tmp___3 ;   1662   int tmp___3 ;
1663   long tmp___4 ;   1663   long tmp___4 ;
1664     1664  
1665   {   1665   {
1666   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   1666   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
1667                              0L);   1667                              0L);
1668   if (tmp___4) {   1668   if (tmp___4) {
1669     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   1669     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
1670     tmp___3 = tmp___0;   1670     tmp___3 = tmp___0;
1671   } else {   1671   } else {
1672     tmp___1 = __stream->_IO_write_ptr;   1672     tmp___1 = __stream->_IO_write_ptr;
1673     (__stream->_IO_write_ptr) ++;   1673     (__stream->_IO_write_ptr) ++;
1674     tmp___2 = (char )__c;   1674     tmp___2 = (char )__c;
1675     *tmp___1 = tmp___2;   1675     *tmp___1 = tmp___2;
1676     tmp___3 = (int )((unsigned char )tmp___2);   1676     tmp___3 = (int )((unsigned char )tmp___2);
1677   }   1677   }
1678   return (tmp___3);   1678   return (tmp___3);
1679 }   1679 }
1680 }   1680 }
1681 __inline extern int putc_unlocked(int __c , FILE *__stream )   1681 __inline extern int putc_unlocked(int __c , FILE *__stream )
1682 {   1682 {
1683   long tmp ;   1683   long tmp ;
1684   int tmp___0 ;   1684   int tmp___0 ;
1685   char *tmp___1 ;   1685   char *tmp___1 ;
1686   char tmp___2 ;   1686   char tmp___2 ;
1687   int tmp___3 ;   1687   int tmp___3 ;
1688   long tmp___4 ;   1688   long tmp___4 ;
1689     1689  
1690   {   1690   {
1691   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),   1691   tmp___4 = __builtin_expect((long )((unsigned int )__stream->_IO_write_ptr >= (unsigned int )__stream->_IO_write_end),
1692                              0L);   1692                              0L);
1693   if (tmp___4) {   1693   if (tmp___4) {
1694     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));   1694     tmp___0 = __overflow(__stream, (int )((unsigned char )__c));
1695     tmp___3 = tmp___0;   1695     tmp___3 = tmp___0;
1696   } else {   1696   } else {
1697     tmp___1 = __stream->_IO_write_ptr;   1697     tmp___1 = __stream->_IO_write_ptr;
1698     (__stream->_IO_write_ptr) ++;   1698     (__stream->_IO_write_ptr) ++;
1699     tmp___2 = (char )__c;   1699     tmp___2 = (char )__c;
1700     *tmp___1 = tmp___2;   1700     *tmp___1 = tmp___2;
1701     tmp___3 = (int )((unsigned char )tmp___2);   1701     tmp___3 = (int )((unsigned char )tmp___2);
1702   }   1702   }
1703   return (tmp___3);   1703   return (tmp___3);
1704 }   1704 }
1705 }   1705 }
1706 __inline extern int putchar_unlocked(int __c )   1706 __inline extern int putchar_unlocked(int __c )
1707 {   1707 {
1708   long tmp ;   1708   long tmp ;
1709   int tmp___0 ;   1709   int tmp___0 ;
1710   char *tmp___1 ;   1710   char *tmp___1 ;
1711   char tmp___2 ;   1711   char tmp___2 ;
1712   int tmp___3 ;   1712   int tmp___3 ;
1713   long tmp___4 ;   1713   long tmp___4 ;
1714     1714  
1715   {   1715   {
1716   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),   1716   tmp___4 = __builtin_expect((long )((unsigned int )stdout->_IO_write_ptr >= (unsigned int )stdout->_IO_write_end),
1717                              0L);   1717                              0L);
1718   if (tmp___4) {   1718   if (tmp___4) {
1719     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));   1719     tmp___0 = __overflow(stdout, (int )((unsigned char )__c));
1720     tmp___3 = tmp___0;   1720     tmp___3 = tmp___0;
1721   } else {   1721   } else {
1722     tmp___1 = stdout->_IO_write_ptr;   1722     tmp___1 = stdout->_IO_write_ptr;
1723     (stdout->_IO_write_ptr) ++;   1723     (stdout->_IO_write_ptr) ++;
1724     tmp___2 = (char )__c;   1724     tmp___2 = (char )__c;
1725     *tmp___1 = tmp___2;   1725     *tmp___1 = tmp___2;
1726     tmp___3 = (int )((unsigned char )tmp___2);   1726     tmp___3 = (int )((unsigned char )tmp___2);
1727   }   1727   }
1728   return (tmp___3);   1728   return (tmp___3);
1729 }   1729 }
1730 }   1730 }
1731 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;   1731 __inline extern  __attribute__((__nothrow__)) int feof_unlocked(FILE *__stream ) ;
1732 __inline extern int feof_unlocked(FILE *__stream )   1732 __inline extern int feof_unlocked(FILE *__stream )
1733 {   1733 {
1734     1734  
1735     1735  
1736   {   1736   {
1737   return ((__stream->_flags & 16) != 0);   1737   return ((__stream->_flags & 16) != 0);
1738 }   1738 }
1739 }   1739 }
1740 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;   1740 __inline extern  __attribute__((__nothrow__)) int ferror_unlocked(FILE *__stream ) ;
1741 __inline extern int ferror_unlocked(FILE *__stream )   1741 __inline extern int ferror_unlocked(FILE *__stream )
1742 {   1742 {
1743     1743  
1744     1744  
1745   {   1745   {
1746   return ((__stream->_flags & 32) != 0);   1746   return ((__stream->_flags & 32) != 0);
1747 }   1747 }
1748 }   1748 }
1749 extern char const   *TIFFGetVersion(void) ;   1749 extern char const   *TIFFGetVersion(void) ;
1750 extern TIFFCodec const   *TIFFFindCODEC(uint16  ) ;   1750 extern TIFFCodec const   *TIFFFindCODEC(uint16  ) ;
1751 extern TIFFCodec *TIFFRegisterCODEC(uint16  , char const   * ,   1751 extern TIFFCodec *TIFFRegisterCODEC(uint16  , char const   * ,
1752                                     int (*)(TIFF * , int  ) ) ;   1752                                     int (*)(TIFF * , int  ) ) ;
1753 extern void TIFFUnRegisterCODEC(TIFFCodec * ) ;   1753 extern void TIFFUnRegisterCODEC(TIFFCodec * ) ;
1754 extern int TIFFIsCODECConfigured(uint16  ) ;   1754 extern int TIFFIsCODECConfigured(uint16  ) ;
1755 extern TIFFCodec *TIFFGetConfiguredCODECs(void) ;   1755 extern TIFFCodec *TIFFGetConfiguredCODECs(void) ;
1756 extern void *_TIFFmalloc(tmsize_t s ) ;   1756 extern void *_TIFFmalloc(tmsize_t s ) ;
1757 extern void *_TIFFrealloc(void *p , tmsize_t s ) ;   1757 extern void *_TIFFrealloc(void *p , tmsize_t s ) ;
1758 extern void _TIFFmemset(void *p , int v , tmsize_t c ) ;   1758 extern void _TIFFmemset(void *p , int v , tmsize_t c ) ;
1759 extern void _TIFFmemcpy(void *d , void const   *s , tmsize_t c ) ;   1759 extern void _TIFFmemcpy(void *d , void const   *s , tmsize_t c ) ;
1760 extern int _TIFFmemcmp(void const   *p1 , void const   *p2 , tmsize_t c ) ;   1760 extern int _TIFFmemcmp(void const   *p1 , void const   *p2 , tmsize_t c ) ;
1761 extern void _TIFFfree(void *p ) ;   1761 extern void _TIFFfree(void *p ) ;
1762 extern int TIFFGetTagListCount(TIFF * ) ;   1762 extern int TIFFGetTagListCount(TIFF * ) ;
1763 extern uint32 TIFFGetTagListEntry(TIFF * , int tag_index ) ;   1763 extern uint32 TIFFGetTagListEntry(TIFF * , int tag_index ) ;
1764 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt ) ;   1764 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt ) ;
1765 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag ) ;   1765 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag ) ;
1766 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name ) ;   1766 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name ) ;
1767 extern TIFFTagMethods *TIFFAccessTagMethods(TIFF * ) ;   1767 extern TIFFTagMethods *TIFFAccessTagMethods(TIFF * ) ;
1768 extern void *TIFFGetClientInfo(TIFF * , char const   * ) ;   1768 extern void *TIFFGetClientInfo(TIFF * , char const   * ) ;
1769 extern void TIFFSetClientInfo(TIFF * , void * , char const   * ) ;   1769 extern void TIFFSetClientInfo(TIFF * , void * , char const   * ) ;
1770 extern void TIFFCleanup(TIFF *tif ) ;   1770 extern void TIFFCleanup(TIFF *tif ) ;
1771 extern void TIFFClose(TIFF *tif ) ;   1771 extern void TIFFClose(TIFF *tif ) ;
1772 extern int TIFFFlush(TIFF *tif ) ;   1772 extern int TIFFFlush(TIFF *tif ) ;
1773 extern int TIFFFlushData(TIFF *tif ) ;   1773 extern int TIFFFlushData(TIFF *tif ) ;
1774 extern int TIFFGetField(TIFF *tif , uint32 tag  , ...) ;   1774 extern int TIFFGetField(TIFF *tif , uint32 tag  , ...) ;
1775 extern int TIFFVGetField(TIFF *tif , uint32 tag , va_list ap ) ;   1775 extern int TIFFVGetField(TIFF *tif , uint32 tag , va_list ap ) ;
1776 extern int TIFFGetFieldDefaulted(TIFF *tif , uint32 tag  , ...) ;   1776 extern int TIFFGetFieldDefaulted(TIFF *tif , uint32 tag  , ...) ;
1777 extern int TIFFVGetFieldDefaulted(TIFF *tif , uint32 tag , va_list ap ) ;   1777 extern int TIFFVGetFieldDefaulted(TIFF *tif , uint32 tag , va_list ap ) ;
1778 extern int TIFFReadDirectory(TIFF *tif ) ;   1778 extern int TIFFReadDirectory(TIFF *tif ) ;
1779 extern int TIFFReadCustomDirectory(TIFF *tif , uint64 diroff ,   1779 extern int TIFFReadCustomDirectory(TIFF *tif , uint64 diroff ,
1780                                    TIFFFieldArray const   *infoarray ) ;   1780                                    TIFFFieldArray const   *infoarray ) ;
1781 extern int TIFFReadEXIFDirectory(TIFF *tif , uint64 diroff ) ;   1781 extern int TIFFReadEXIFDirectory(TIFF *tif , uint64 diroff ) ;
1782 extern uint64 TIFFScanlineSize64(TIFF *tif ) ;   1782 extern uint64 TIFFScanlineSize64(TIFF *tif ) ;
1783 extern tmsize_t TIFFScanlineSize(TIFF *tif ) ;   1783 extern tmsize_t TIFFScanlineSize(TIFF *tif ) ;
1784 extern uint64 TIFFRasterScanlineSize64(TIFF *tif ) ;   1784 extern uint64 TIFFRasterScanlineSize64(TIFF *tif ) ;
1785 extern tmsize_t TIFFRasterScanlineSize(TIFF *tif ) ;   1785 extern tmsize_t TIFFRasterScanlineSize(TIFF *tif ) ;
1786 extern uint64 TIFFStripSize64(TIFF *tif ) ;   1786 extern uint64 TIFFStripSize64(TIFF *tif ) ;
1787 extern tmsize_t TIFFStripSize(TIFF *tif ) ;   1787 extern tmsize_t TIFFStripSize(TIFF *tif ) ;
1788 extern uint64 TIFFRawStripSize64(TIFF *tif , uint32 strip ) ;   1788 extern uint64 TIFFRawStripSize64(TIFF *tif , uint32 strip ) ;
1789 extern tmsize_t TIFFRawStripSize(TIFF *tif , uint32 strip ) ;   1789 extern tmsize_t TIFFRawStripSize(TIFF *tif , uint32 strip ) ;
1790 extern uint64 TIFFVStripSize64(TIFF *tif , uint32 nrows ) ;   1790 extern uint64 TIFFVStripSize64(TIFF *tif , uint32 nrows ) ;
1791 extern tmsize_t TIFFVStripSize(TIFF *tif , uint32 nrows ) ;   1791 extern tmsize_t TIFFVStripSize(TIFF *tif , uint32 nrows ) ;
1792 extern uint64 TIFFTileRowSize64(TIFF *tif ) ;   1792 extern uint64 TIFFTileRowSize64(TIFF *tif ) ;
1793 extern tmsize_t TIFFTileRowSize(TIFF *tif ) ;   1793 extern tmsize_t TIFFTileRowSize(TIFF *tif ) ;
1794 extern uint64 TIFFTileSize64(TIFF *tif ) ;   1794 extern uint64 TIFFTileSize64(TIFF *tif ) ;
1795 extern tmsize_t TIFFTileSize(TIFF *tif ) ;   1795 extern tmsize_t TIFFTileSize(TIFF *tif ) ;
1796 extern uint64 TIFFVTileSize64(TIFF *tif , uint32 nrows ) ;   1796 extern uint64 TIFFVTileSize64(TIFF *tif , uint32 nrows ) ;
1797 extern tmsize_t TIFFVTileSize(TIFF *tif , uint32 nrows ) ;   1797 extern tmsize_t TIFFVTileSize(TIFF *tif , uint32 nrows ) ;
1798 extern uint32 TIFFDefaultStripSize(TIFF *tif , uint32 request ) ;   1798 extern uint32 TIFFDefaultStripSize(TIFF *tif , uint32 request ) ;
1799 extern void TIFFDefaultTileSize(TIFF * , uint32 * , uint32 * ) ;   1799 extern void TIFFDefaultTileSize(TIFF * , uint32 * , uint32 * ) ;
1800 extern int TIFFFileno(TIFF * ) ;   1800 extern int TIFFFileno(TIFF * ) ;
1801 extern int TIFFSetFileno(TIFF * , int  ) ;   1801 extern int TIFFSetFileno(TIFF * , int  ) ;
1802 extern thandle_t TIFFClientdata(TIFF * ) ;   1802 extern thandle_t TIFFClientdata(TIFF * ) ;
1803 extern thandle_t TIFFSetClientdata(TIFF * , thandle_t  ) ;   1803 extern thandle_t TIFFSetClientdata(TIFF * , thandle_t  ) ;
1804 extern int TIFFGetMode(TIFF * ) ;   1804 extern int TIFFGetMode(TIFF * ) ;
1805 extern int TIFFSetMode(TIFF * , int  ) ;   1805 extern int TIFFSetMode(TIFF * , int  ) ;
1806 extern int TIFFIsTiled(TIFF * ) ;   1806 extern int TIFFIsTiled(TIFF * ) ;
1807 extern int TIFFIsByteSwapped(TIFF * ) ;   1807 extern int TIFFIsByteSwapped(TIFF * ) ;
1808 extern int TIFFIsUpSampled(TIFF * ) ;   1808 extern int TIFFIsUpSampled(TIFF * ) ;
1809 extern int TIFFIsMSB2LSB(TIFF * ) ;   1809 extern int TIFFIsMSB2LSB(TIFF * ) ;
1810 extern int TIFFIsBigEndian(TIFF * ) ;   1810 extern int TIFFIsBigEndian(TIFF * ) ;
1811 extern TIFFReadWriteProc TIFFGetReadProc(TIFF * ) ;   1811 extern TIFFReadWriteProc TIFFGetReadProc(TIFF * ) ;
1812 extern TIFFReadWriteProc TIFFGetWriteProc(TIFF * ) ;   1812 extern TIFFReadWriteProc TIFFGetWriteProc(TIFF * ) ;
1813 extern TIFFSeekProc TIFFGetSeekProc(TIFF * ) ;   1813 extern TIFFSeekProc TIFFGetSeekProc(TIFF * ) ;
1814 extern TIFFCloseProc TIFFGetCloseProc(TIFF * ) ;   1814 extern TIFFCloseProc TIFFGetCloseProc(TIFF * ) ;
1815 extern TIFFSizeProc TIFFGetSizeProc(TIFF * ) ;   1815 extern TIFFSizeProc TIFFGetSizeProc(TIFF * ) ;
1816 extern TIFFMapFileProc TIFFGetMapFileProc(TIFF * ) ;   1816 extern TIFFMapFileProc TIFFGetMapFileProc(TIFF * ) ;
1817 extern TIFFUnmapFileProc TIFFGetUnmapFileProc(TIFF * ) ;   1817 extern TIFFUnmapFileProc TIFFGetUnmapFileProc(TIFF * ) ;
1818 extern uint32 TIFFCurrentRow(TIFF * ) ;   1818 extern uint32 TIFFCurrentRow(TIFF * ) ;
1819 extern uint16 TIFFCurrentDirectory(TIFF * ) ;   1819 extern uint16 TIFFCurrentDirectory(TIFF * ) ;
1820 extern uint16 TIFFNumberOfDirectories(TIFF * ) ;   1820 extern uint16 TIFFNumberOfDirectories(TIFF * ) ;
1821 extern uint64 TIFFCurrentDirOffset(TIFF * ) ;   1821 extern uint64 TIFFCurrentDirOffset(TIFF * ) ;
1822 extern uint32 TIFFCurrentStrip(TIFF * ) ;   1822 extern uint32 TIFFCurrentStrip(TIFF * ) ;
1823 extern uint32 TIFFCurrentTile(TIFF *tif ) ;   1823 extern uint32 TIFFCurrentTile(TIFF *tif ) ;
1824 extern int TIFFReadBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;   1824 extern int TIFFReadBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;
1825 extern int TIFFWriteBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;   1825 extern int TIFFWriteBufferSetup(TIFF *tif , void *bp , tmsize_t size ) ;
1826 extern int TIFFSetupStrips(TIFF * ) ;   1826 extern int TIFFSetupStrips(TIFF * ) ;
1827 extern int TIFFWriteCheck(TIFF * , int  , char const   * ) ;   1827 extern int TIFFWriteCheck(TIFF * , int  , char const   * ) ;
1828 extern void TIFFFreeDirectory(TIFF * ) ;   1828 extern void TIFFFreeDirectory(TIFF * ) ;
1829 extern int TIFFCreateDirectory(TIFF * ) ;   1829 extern int TIFFCreateDirectory(TIFF * ) ;
1830 extern int TIFFLastDirectory(TIFF * ) ;   1830 extern int TIFFLastDirectory(TIFF * ) ;
1831 extern int TIFFSetDirectory(TIFF * , uint16  ) ;   1831 extern int TIFFSetDirectory(TIFF * , uint16  ) ;
1832 extern int TIFFSetSubDirectory(TIFF * , uint64  ) ;   1832 extern int TIFFSetSubDirectory(TIFF * , uint64  ) ;
1833 extern int TIFFUnlinkDirectory(TIFF * , uint16  ) ;   1833 extern int TIFFUnlinkDirectory(TIFF * , uint16  ) ;
1834 extern int TIFFSetField(TIFF * , uint32   , ...) ;   1834 extern int TIFFSetField(TIFF * , uint32   , ...) ;
1835 extern int TIFFVSetField(TIFF * , uint32  , va_list  ) ;   1835 extern int TIFFVSetField(TIFF * , uint32  , va_list  ) ;
1836 extern int TIFFWriteDirectory(TIFF * ) ;   1836 extern int TIFFWriteDirectory(TIFF * ) ;
1837 extern int TIFFCheckpointDirectory(TIFF * ) ;   1837 extern int TIFFCheckpointDirectory(TIFF * ) ;
1838 extern int TIFFRewriteDirectory(TIFF * ) ;   1838 extern int TIFFRewriteDirectory(TIFF * ) ;
1839 extern void TIFFPrintDirectory(TIFF * , FILE * , long  ) ;   1839 extern void TIFFPrintDirectory(TIFF * , FILE * , long  ) ;
1840 extern int TIFFReadScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;   1840 extern int TIFFReadScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;
1841 extern int TIFFWriteScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;   1841 extern int TIFFWriteScanline(TIFF *tif , void *buf , uint32 row , uint16 sample ) ;
1842 extern int TIFFReadRGBAImage(TIFF * , uint32  , uint32  , uint32 * , int  ) ;   1842 extern int TIFFReadRGBAImage(TIFF * , uint32  , uint32  , uint32 * , int  ) ;
1843 extern int TIFFReadRGBAImageOriented(TIFF * , uint32  , uint32  , uint32 * ,   1843 extern int TIFFReadRGBAImageOriented(TIFF * , uint32  , uint32  , uint32 * ,
1844                                      int  , int  ) ;   1844                                      int  , int  ) ;
1845 extern int TIFFReadRGBAStrip(TIFF * , uint32  , uint32 * ) ;   1845 extern int TIFFReadRGBAStrip(TIFF * , uint32  , uint32 * ) ;
1846 extern int TIFFReadRGBATile(TIFF * , uint32  , uint32  , uint32 * ) ;   1846 extern int TIFFReadRGBATile(TIFF * , uint32  , uint32  , uint32 * ) ;
1847 extern int TIFFRGBAImageOK(TIFF * , char * ) ;   1847 extern int TIFFRGBAImageOK(TIFF * , char * ) ;
1848 extern int TIFFRGBAImageBegin(TIFFRGBAImage * , TIFF * , int  , char * ) ;   1848 extern int TIFFRGBAImageBegin(TIFFRGBAImage * , TIFF * , int  , char * ) ;
1849 extern int TIFFRGBAImageGet(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;   1849 extern int TIFFRGBAImageGet(TIFFRGBAImage * , uint32 * , uint32  , uint32  ) ;
1850 extern void TIFFRGBAImageEnd(TIFFRGBAImage * ) ;   1850 extern void TIFFRGBAImageEnd(TIFFRGBAImage * ) ;
1851 extern TIFF *TIFFOpen(char const   * , char const   * ) ;   1851 extern TIFF *TIFFOpen(char const   * , char const   * ) ;
1852 extern TIFF *TIFFFdOpen(int  , char const   * , char const   * ) ;   1852 extern TIFF *TIFFFdOpen(int  , char const   * , char const   * ) ;
1853 extern TIFF *TIFFClientOpen(char const   * , char const   * , thandle_t  ,   1853 extern TIFF *TIFFClientOpen(char const   * , char const   * , thandle_t  ,
1854                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,   1854                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,
1855                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,   1855                             tmsize_t (*)(thandle_t  , void * , tmsize_t  ) ,
1856                             uint64 (*)(thandle_t  , uint64  , int  ) ,   1856                             uint64 (*)(thandle_t  , uint64  , int  ) ,
1857                             int (*)(thandle_t  ) , uint64 (*)(thandle_t  ) ,   1857                             int (*)(thandle_t  ) , uint64 (*)(thandle_t  ) ,
1858                             int (*)(thandle_t  , void **base , toff_t *size ) ,   1858                             int (*)(thandle_t  , void **base , toff_t *size ) ,
1859                             void (*)(thandle_t  , void *base , toff_t size ) ) ;   1859                             void (*)(thandle_t  , void *base , toff_t size ) ) ;
1860 extern char const   *TIFFFileName(TIFF * ) ;   1860 extern char const   *TIFFFileName(TIFF * ) ;
1861 extern char const   *TIFFSetFileName(TIFF * , char const   * ) ;   1861 extern char const   *TIFFSetFileName(TIFF * , char const   * ) ;
1862 extern void TIFFError(char const   * , char const   *  , ...) ;   1862 extern void TIFFError(char const   * , char const   *  , ...) ;
1863 extern void TIFFErrorExt(thandle_t  , char const   * , char const   *  , ...) ;   1863 extern void TIFFErrorExt(thandle_t  , char const   * , char const   *  , ...) ;
1864 extern void TIFFWarning(char const   * , char const   *  , ...) ;   1864 extern void TIFFWarning(char const   * , char const   *  , ...) ;
1865 extern void TIFFWarningExt(thandle_t  , char const   * , char const   *  , ...) ;   1865 extern void TIFFWarningExt(thandle_t  , char const   * , char const   *  , ...) ;
1866 extern TIFFErrorHandler TIFFSetErrorHandler(void (*)(char const   * ,   1866 extern TIFFErrorHandler TIFFSetErrorHandler(void (*)(char const   * ,
1867                                                      char const   * , va_list  ) ) ;   1867                                                      char const   * , va_list  ) ) ;
1868 extern TIFFErrorHandlerExt TIFFSetErrorHandlerExt(void (*)(thandle_t  ,   1868 extern TIFFErrorHandlerExt TIFFSetErrorHandlerExt(void (*)(thandle_t  ,
1869                                                            char const   * ,   1869                                                            char const   * ,
1870                                                            char const   * ,   1870                                                            char const   * ,
1871                                                            va_list  ) ) ;   1871                                                            va_list  ) ) ;
1872 extern TIFFErrorHandler TIFFSetWarningHandler(void (*)(char const   * ,   1872 extern TIFFErrorHandler TIFFSetWarningHandler(void (*)(char const   * ,
1873                                                        char const   * ,   1873                                                        char const   * ,
1874                                                        va_list  ) ) ;   1874                                                        va_list  ) ) ;
1875 extern TIFFErrorHandlerExt TIFFSetWarningHandlerExt(void (*)(thandle_t  ,   1875 extern TIFFErrorHandlerExt TIFFSetWarningHandlerExt(void (*)(thandle_t  ,
1876                                                              char const   * ,   1876                                                              char const   * ,
1877                                                              char const   * ,   1877                                                              char const   * ,
1878                                                              va_list  ) ) ;   1878                                                              va_list  ) ) ;
1879 extern TIFFExtendProc TIFFSetTagExtender(void (*)(TIFF * ) ) ;   1879 extern TIFFExtendProc TIFFSetTagExtender(void (*)(TIFF * ) ) ;
1880 extern uint32 TIFFComputeTile(TIFF *tif , uint32 x , uint32 y , uint32 z ,   1880 extern uint32 TIFFComputeTile(TIFF *tif , uint32 x , uint32 y , uint32 z ,
1881                               uint16 s ) ;   1881                               uint16 s ) ;
1882 extern int TIFFCheckTile(TIFF *tif , uint32 x , uint32 y , uint32 z , uint16 s ) ;   1882 extern int TIFFCheckTile(TIFF *tif , uint32 x , uint32 y , uint32 z , uint16 s ) ;
1883 extern uint32 TIFFNumberOfTiles(TIFF * ) ;   1883 extern uint32 TIFFNumberOfTiles(TIFF * ) ;
1884 extern tmsize_t TIFFReadTile(TIFF *tif , void *buf , uint32 x , uint32 y ,   1884 extern tmsize_t TIFFReadTile(TIFF *tif , void *buf , uint32 x , uint32 y ,
1885                              uint32 z , uint16 s ) ;   1885                              uint32 z , uint16 s ) ;
1886 extern tmsize_t TIFFWriteTile(TIFF *tif , void *buf , uint32 x , uint32 y ,   1886 extern tmsize_t TIFFWriteTile(TIFF *tif , void *buf , uint32 x , uint32 y ,
1887                               uint32 z , uint16 s ) ;   1887                               uint32 z , uint16 s ) ;
1888 extern uint32 TIFFComputeStrip(TIFF * , uint32  , uint16  ) ;   1888 extern uint32 TIFFComputeStrip(TIFF * , uint32  , uint16  ) ;
1889 extern uint32 TIFFNumberOfStrips(TIFF * ) ;   1889 extern uint32 TIFFNumberOfStrips(TIFF * ) ;
1890 extern tmsize_t TIFFReadEncodedStrip(TIFF *tif , uint32 strip , void *buf ,   1890 extern tmsize_t TIFFReadEncodedStrip(TIFF *tif , uint32 strip , void *buf ,
1891                                      tmsize_t size ) ;   1891                                      tmsize_t size ) ;
1892 extern tmsize_t TIFFReadRawStrip(TIFF *tif , uint32 strip , void *buf ,   1892 extern tmsize_t TIFFReadRawStrip(TIFF *tif , uint32 strip , void *buf ,
1893                                  tmsize_t size ) ;   1893                                  tmsize_t size ) ;
1894 extern tmsize_t TIFFReadEncodedTile(TIFF *tif , uint32 tile , void *buf ,   1894 extern tmsize_t TIFFReadEncodedTile(TIFF *tif , uint32 tile , void *buf ,
1895                                     tmsize_t size ) ;   1895                                     tmsize_t size ) ;
1896 extern tmsize_t TIFFReadRawTile(TIFF *tif , uint32 tile , void *buf ,   1896 extern tmsize_t TIFFReadRawTile(TIFF *tif , uint32 tile , void *buf ,
1897                                 tmsize_t size ) ;   1897                                 tmsize_t size ) ;
1898 extern tmsize_t TIFFWriteEncodedStrip(TIFF *tif , uint32 strip , void *data ,   1898 extern tmsize_t TIFFWriteEncodedStrip(TIFF *tif , uint32 strip , void *data ,
1899                                       tmsize_t cc ) ;   1899                                       tmsize_t cc ) ;
1900 extern tmsize_t TIFFWriteRawStrip(TIFF *tif , uint32 strip , void *data ,   1900 extern tmsize_t TIFFWriteRawStrip(TIFF *tif , uint32 strip , void *data ,
1901                                   tmsize_t cc ) ;   1901                                   tmsize_t cc ) ;
1902 extern tmsize_t TIFFWriteEncodedTile(TIFF *tif , uint32 tile , void *data ,   1902 extern tmsize_t TIFFWriteEncodedTile(TIFF *tif , uint32 tile , void *data ,
1903                                      tmsize_t cc ) ;   1903                                      tmsize_t cc ) ;
1904 extern tmsize_t TIFFWriteRawTile(TIFF *tif , uint32 tile , void *data ,   1904 extern tmsize_t TIFFWriteRawTile(TIFF *tif , uint32 tile , void *data ,
1905                                  tmsize_t cc ) ;   1905                                  tmsize_t cc ) ;
1906 int TIFFDataWidth(TIFFDataType type ) ;   1906 int TIFFDataWidth(TIFFDataType type ) ;
1907 extern void TIFFSetWriteOffset(TIFF *tif , uint64 off ) ;   1907 extern void TIFFSetWriteOffset(TIFF *tif , uint64 off ) ;
1908 extern void TIFFSwabShort(uint16 * ) ;   1908 extern void TIFFSwabShort(uint16 * ) ;
1909 extern void TIFFSwabLong(uint32 * ) ;   1909 extern void TIFFSwabLong(uint32 * ) ;
1910 extern void TIFFSwabLong8(uint64 * ) ;   1910 extern void TIFFSwabLong8(uint64 * ) ;
1911 extern void TIFFSwabFloat(float * ) ;   1911 extern void TIFFSwabFloat(float * ) ;
1912 extern void TIFFSwabDouble(double * ) ;   1912 extern void TIFFSwabDouble(double * ) ;
1913 extern void TIFFSwabArrayOfShort(uint16 *wp , tmsize_t n ) ;   1913 extern void TIFFSwabArrayOfShort(uint16 *wp , tmsize_t n ) ;
1914 extern void TIFFSwabArrayOfTriples(uint8 *tp , tmsize_t n ) ;   1914 extern void TIFFSwabArrayOfTriples(uint8 *tp , tmsize_t n ) ;
1915 extern void TIFFSwabArrayOfLong(uint32 *lp , tmsize_t n ) ;   1915 extern void TIFFSwabArrayOfLong(uint32 *lp , tmsize_t n ) ;
1916 extern void TIFFSwabArrayOfLong8(uint64 *lp , tmsize_t n ) ;   1916 extern void TIFFSwabArrayOfLong8(uint64 *lp , tmsize_t n ) ;
1917 extern void TIFFSwabArrayOfFloat(float *fp , tmsize_t n ) ;   1917 extern void TIFFSwabArrayOfFloat(float *fp , tmsize_t n ) ;
1918 extern void TIFFSwabArrayOfDouble(double *dp , tmsize_t n ) ;   1918 extern void TIFFSwabArrayOfDouble(double *dp , tmsize_t n ) ;
1919 extern void TIFFReverseBits(uint8 *cp , tmsize_t n ) ;   1919 extern void TIFFReverseBits(uint8 *cp , tmsize_t n ) ;
1920 extern unsigned char const   *TIFFGetBitRevTable(int  ) ;   1920 extern unsigned char const   *TIFFGetBitRevTable(int  ) ;
1921 extern double LogL16toY(int  ) ;   1921 extern double LogL16toY(int  ) ;
1922 extern double LogL10toY(int  ) ;   1922 extern double LogL10toY(int  ) ;
1923 extern void XYZtoRGB24(float * , uint8 * ) ;   1923 extern void XYZtoRGB24(float * , uint8 * ) ;
1924 extern int uv_decode(double * , double * , int  ) ;   1924 extern int uv_decode(double * , double * , int  ) ;
1925 extern void LogLuv24toXYZ(uint32  , float * ) ;   1925 extern void LogLuv24toXYZ(uint32  , float * ) ;
1926 extern void LogLuv32toXYZ(uint32  , float * ) ;   1926 extern void LogLuv32toXYZ(uint32  , float * ) ;
1927 extern int LogL16fromY(double  , int  ) ;   1927 extern int LogL16fromY(double  , int  ) ;
1928 extern int LogL10fromY(double  , int  ) ;   1928 extern int LogL10fromY(double  , int  ) ;
1929 extern int uv_encode(double  , double  , int  ) ;   1929 extern int uv_encode(double  , double  , int  ) ;
1930 extern uint32 LogLuv24fromXYZ(float * , int  ) ;   1930 extern uint32 LogLuv24fromXYZ(float * , int  ) ;
1931 extern uint32 LogLuv32fromXYZ(float * , int  ) ;   1931 extern uint32 LogLuv32fromXYZ(float * , int  ) ;
1932 extern int TIFFCIELabToRGBInit(TIFFCIELabToRGB * , TIFFDisplay * , float * ) ;   1932 extern int TIFFCIELabToRGBInit(TIFFCIELabToRGB * , TIFFDisplay * , float * ) ;
1933 extern void TIFFCIELabToXYZ(TIFFCIELabToRGB * , uint32  , int32  , int32  ,   1933 extern void TIFFCIELabToXYZ(TIFFCIELabToRGB * , uint32  , int32  , int32  ,
1934                             float * , float * , float * ) ;   1934                             float * , float * , float * ) ;
1935 extern void TIFFXYZToRGB(TIFFCIELabToRGB * , float  , float  , float  ,   1935 extern void TIFFXYZToRGB(TIFFCIELabToRGB * , float  , float  , float  ,
1936                          uint32 * , uint32 * , uint32 * ) ;   1936                          uint32 * , uint32 * , uint32 * ) ;
1937 extern int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB * , float * , float * ) ;   1937 extern int TIFFYCbCrToRGBInit(TIFFYCbCrToRGB * , float * , float * ) ;
1938 extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB * , uint32  , int32  , int32  ,   1938 extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB * , uint32  , int32  , int32  ,
1939                            uint32 * , uint32 * , uint32 * ) ;   1939                            uint32 * , uint32 * , uint32 * ) ;
1940 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n ) ;   1940 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n ) ;
1941 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,   1941 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,
1942                                          TIFFDataType dt ) ;   1942                                          TIFFDataType dt ) ;
1943 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,   1943 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,
1944                                                char const   *field_name ,   1944                                                char const   *field_name ,
1945                                                TIFFDataType dt ) ;   1945                                                TIFFDataType dt ) ;
1946 TIFFFieldArray const   *_TIFFGetFields(void) ;   1946 TIFFFieldArray const   *_TIFFGetFields(void) ;
1947 TIFFFieldArray const   *_TIFFGetExifFields(void) ;   1947 TIFFFieldArray const   *_TIFFGetExifFields(void) ;
1948 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray ) ;   1948 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray ) ;
1949 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd ) ;   1949 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd ) ;
1950 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n ) ;   1950 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n ) ;
1951 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,   1951 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,
1952                                             TIFFDataType dt ) ;   1952                                             TIFFDataType dt ) ;
1953 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,   1953 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,
1954                                 TIFFDataType field_type ) ;   1954                                 TIFFDataType field_type ) ;
1955 extern int _TIFFgetMode(char const   *mode , char const   *module ) ;   1955 extern int _TIFFgetMode(char const   *mode , char const   *module ) ;
1956 extern int _TIFFNoRowEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1956 extern int _TIFFNoRowEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1957 extern int _TIFFNoStripEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1957 extern int _TIFFNoStripEncode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1958 extern int _TIFFNoTileEncode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;   1958 extern int _TIFFNoTileEncode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;
1959 extern int _TIFFNoRowDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1959 extern int _TIFFNoRowDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1960 extern int _TIFFNoStripDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;   1960 extern int _TIFFNoStripDecode(TIFF *tif , uint8 *pp , tmsize_t cc , uint16 s ) ;
1961 extern int _TIFFNoTileDecode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;   1961 extern int _TIFFNoTileDecode(TIFF * , uint8 *pp , tmsize_t cc , uint16 s ) ;
1962 extern void _TIFFNoPostDecode(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1962 extern void _TIFFNoPostDecode(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1963 extern int _TIFFNoPreCode(TIFF *tif , uint16 s ) ;   1963 extern int _TIFFNoPreCode(TIFF *tif , uint16 s ) ;
1964 extern int _TIFFNoSeek(TIFF *tif , uint32 off ) ;   1964 extern int _TIFFNoSeek(TIFF *tif , uint32 off ) ;
1965 extern void _TIFFSwab16BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1965 extern void _TIFFSwab16BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1966 extern void _TIFFSwab24BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1966 extern void _TIFFSwab24BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1967 extern void _TIFFSwab32BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1967 extern void _TIFFSwab32BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1968 extern void _TIFFSwab64BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;   1968 extern void _TIFFSwab64BitData(TIFF *tif , uint8 *buf , tmsize_t cc ) ;
1969 extern int TIFFFlushData1(TIFF *tif ) ;   1969 extern int TIFFFlushData1(TIFF *tif ) ;
1970 extern int TIFFDefaultDirectory(TIFF *tif ) ;   1970 extern int TIFFDefaultDirectory(TIFF *tif ) ;
1971 extern void _TIFFSetDefaultCompressionState(TIFF *tif ) ;   1971 extern void _TIFFSetDefaultCompressionState(TIFF *tif ) ;
1972 extern int TIFFSetCompressionScheme(TIFF *tif , int scheme ) ;   1972 extern int TIFFSetCompressionScheme(TIFF *tif , int scheme ) ;
1973 extern int TIFFSetDefaultCompressionState(TIFF *tif ) ;   1973 extern int TIFFSetDefaultCompressionState(TIFF *tif ) ;
1974 extern uint32 _TIFFDefaultStripSize(TIFF *tif , uint32 s ) ;   1974 extern uint32 _TIFFDefaultStripSize(TIFF *tif , uint32 s ) ;
1975 extern void _TIFFDefaultTileSize(TIFF *tif , uint32 *tw , uint32 *th ) ;   1975 extern void _TIFFDefaultTileSize(TIFF *tif , uint32 *tw , uint32 *th ) ;
1976 int _TIFFDataSize(TIFFDataType type ) ;   1976 int _TIFFDataSize(TIFFDataType type ) ;
1977 extern void _TIFFsetByteArray(void ** , void * , uint32  ) ;   1977 extern void _TIFFsetByteArray(void ** , void * , uint32  ) ;
1978 extern void _TIFFsetString(char ** , char * ) ;   1978 extern void _TIFFsetString(char ** , char * ) ;
1979 extern void _TIFFsetShortArray(uint16 ** , uint16 * , uint32  ) ;   1979 extern void _TIFFsetShortArray(uint16 ** , uint16 * , uint32  ) ;
1980 extern void _TIFFsetLongArray(uint32 ** , uint32 * , uint32  ) ;   1980 extern void _TIFFsetLongArray(uint32 ** , uint32 * , uint32  ) ;
1981 extern void _TIFFsetFloatArray(float ** , float * , uint32  ) ;   1981 extern void _TIFFsetFloatArray(float ** , float * , uint32  ) ;
1982 extern void _TIFFsetDoubleArray(double ** , double * , uint32  ) ;   1982 extern void _TIFFsetDoubleArray(double ** , double * , uint32  ) ;
1983 extern void _TIFFprintAscii(FILE * , char const   * ) ;   1983 extern void _TIFFprintAscii(FILE * , char const   * ) ;
1984 extern void _TIFFprintAsciiTag(FILE * , char const   * , char const   * ) ;   1984 extern void _TIFFprintAsciiTag(FILE * , char const   * , char const   * ) ;
1985 extern void (*_TIFFwarningHandler)(char const   * , char const   * , va_list  ) ;   1985 extern void (*_TIFFwarningHandler)(char const   * , char const   * , va_list  ) ;
1986 extern void (*_TIFFerrorHandler)(char const   * , char const   * , va_list  ) ;   1986 extern void (*_TIFFerrorHandler)(char const   * , char const   * , va_list  ) ;
1987 extern void (*_TIFFwarningHandlerExt)(thandle_t  , char const   * ,   1987 extern void (*_TIFFwarningHandlerExt)(thandle_t  , char const   * ,
1988                                       char const   * , va_list  ) ;   1988                                       char const   * , va_list  ) ;
1989 extern void (*_TIFFerrorHandlerExt)(thandle_t  , char const   * ,   1989 extern void (*_TIFFerrorHandlerExt)(thandle_t  , char const   * ,
1990                                     char const   * , va_list  ) ;   1990                                     char const   * , va_list  ) ;
1991 extern void *_TIFFCheckMalloc(TIFF *tif , tmsize_t nmemb , tmsize_t elem_size ,   1991 extern void *_TIFFCheckMalloc(TIFF *tif , tmsize_t nmemb , tmsize_t elem_size ,
1992                               char const   *what ) ;   1992                               char const   *what ) ;
1993 extern void *_TIFFCheckRealloc(TIFF *tif , void *buffer , tmsize_t nmemb ,   1993 extern void *_TIFFCheckRealloc(TIFF *tif , void *buffer , tmsize_t nmemb ,
1994                                tmsize_t elem_size , char const   *what ) ;   1994                                tmsize_t elem_size , char const   *what ) ;
1995 extern double _TIFFUInt64ToDouble(uint64  ) ;   1995 extern double _TIFFUInt64ToDouble(uint64  ) ;
1996 extern float _TIFFUInt64ToFloat(uint64  ) ;   1996 extern float _TIFFUInt64ToFloat(uint64  ) ;
1997 extern int TIFFInitDumpMode(TIFF * , int  ) ;   1997 extern int TIFFInitDumpMode(TIFF * , int  ) ;
1998 extern int TIFFInitPackBits(TIFF * , int  ) ;   1998 extern int TIFFInitPackBits(TIFF * , int  ) ;
1999 extern int TIFFInitCCITTRLE(TIFF * , int  ) ;   1999 extern int TIFFInitCCITTRLE(TIFF * , int  ) ;
2000 extern int TIFFInitCCITTRLEW(TIFF * , int  ) ;   2000 extern int TIFFInitCCITTRLEW(TIFF * , int  ) ;
2001 extern int TIFFInitCCITTFax3(TIFF * , int  ) ;   2001 extern int TIFFInitCCITTFax3(TIFF * , int  ) ;
2002 extern int TIFFInitCCITTFax4(TIFF * , int  ) ;   2002 extern int TIFFInitCCITTFax4(TIFF * , int  ) ;
2003 extern int TIFFInitThunderScan(TIFF * , int  ) ;   2003 extern int TIFFInitThunderScan(TIFF * , int  ) ;
2004 extern int TIFFInitNeXT(TIFF * , int  ) ;   2004 extern int TIFFInitNeXT(TIFF * , int  ) ;
2005 extern int TIFFInitLZW(TIFF * , int  ) ;   2005 extern int TIFFInitLZW(TIFF * , int  ) ;
2006 extern int TIFFInitZIP(TIFF * , int  ) ;   2006 extern int TIFFInitZIP(TIFF * , int  ) ;
2007 extern int TIFFInitPixarLog(TIFF * , int  ) ;   2007 extern int TIFFInitPixarLog(TIFF * , int  ) ;
2008 extern int TIFFInitSGILog(TIFF * , int  ) ;   2008 extern int TIFFInitSGILog(TIFF * , int  ) ;
2009 extern TIFFCodec _TIFFBuiltinCODECS[] ;   2009 extern TIFFCodec _TIFFBuiltinCODECS[] ;
2010 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;   2010 extern  __attribute__((__nothrow__)) size_t __ctype_get_mb_cur_max(void) ;
2011 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   2011 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
2012 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   2012 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
2013 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   2013 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
2014 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   2014 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
2015 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,   2015 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) strtod)(char const   * __restrict  __nptr ,
2016                                                                                       char ** __restrict  __endptr ) ;   2016                                                                                       char ** __restrict  __endptr ) ;
2017 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,   2017 extern  __attribute__((__nothrow__)) float ( __attribute__((__nonnull__(1))) strtof)(char const   * __restrict  __nptr ,
2018                                                                                      char ** __restrict  __endptr ) ;   2018                                                                                      char ** __restrict  __endptr ) ;
2019 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,   2019 extern  __attribute__((__nothrow__)) long double ( __attribute__((__nonnull__(1))) strtold)(char const   * __restrict  __nptr ,
2020                                                                                             char ** __restrict  __endptr ) ;   2020                                                                                             char ** __restrict  __endptr ) ;
2021 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,   2021 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) strtol)(char const   * __restrict  __nptr ,
2022                                                                                     char ** __restrict  __endptr ,   2022                                                                                     char ** __restrict  __endptr ,
2023                                                                                     int __base ) ;   2023                                                                                     int __base ) ;
2024 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,   2024 extern  __attribute__((__nothrow__)) unsigned long ( __attribute__((__nonnull__(1))) strtoul)(char const   * __restrict  __nptr ,
2025                                                                                               char ** __restrict  __endptr ,   2025                                                                                               char ** __restrict  __endptr ,
2026                                                                                               int __base ) ;   2026                                                                                               int __base ) ;
2027 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,   2027 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoq)(char const   * __restrict  __nptr ,
2028                                                                                          char ** __restrict  __endptr ,   2028                                                                                          char ** __restrict  __endptr ,
2029                                                                                          int __base ) ;   2029                                                                                          int __base ) ;
2030 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,   2030 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtouq)(char const   * __restrict  __nptr ,
2031                                                                                                    char ** __restrict  __endptr ,   2031                                                                                                    char ** __restrict  __endptr ,
2032                                                                                                    int __base ) ;   2032                                                                                                    int __base ) ;
2033 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,   2033 extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) strtoll)(char const   * __restrict  __nptr ,
2034                                                                                           char ** __restrict  __endptr ,   2034                                                                                           char ** __restrict  __endptr ,
2035                                                                                           int __base ) ;   2035                                                                                           int __base ) ;
2036 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,   2036 extern  __attribute__((__nothrow__)) unsigned long long ( __attribute__((__nonnull__(1))) strtoull)(char const   * __restrict  __nptr ,
2037                                                                                                     char ** __restrict  __endptr ,   2037                                                                                                     char ** __restrict  __endptr ,
2038                                                                                                     int __base ) ;   2038                                                                                                     int __base ) ;
2039 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;   2039 __inline extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )  __attribute__((__pure__)) ;
2040 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )   2040 __inline extern double ( __attribute__((__nonnull__(1))) atof)(char const   *__nptr )
2041 {   2041 {
2042   double tmp ;   2042   double tmp ;
2043     2043  
2044   {   2044   {
2045   tmp = strtod((char const   */* __restrict  */)__nptr,   2045   tmp = strtod((char const   */* __restrict  */)__nptr,
2046                (char **/* __restrict  */)((char **)((void *)0)));   2046                (char **/* __restrict  */)((char **)((void *)0)));
2047   return (tmp);   2047   return (tmp);
2048 }   2048 }
2049 }   2049 }
2050 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;   2050 __inline extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )  __attribute__((__pure__)) ;
2051 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )   2051 __inline extern int ( __attribute__((__nonnull__(1))) atoi)(char const   *__nptr )
2052 {   2052 {
2053   long tmp ;   2053   long tmp ;
2054     2054  
2055   {   2055   {
2056   tmp = strtol((char const   */* __restrict  */)__nptr,   2056   tmp = strtol((char const   */* __restrict  */)__nptr,
2057                (char **/* __restrict  */)((char **)((void *)0)), 10);   2057                (char **/* __restrict  */)((char **)((void *)0)), 10);
2058   return ((int )tmp);   2058   return ((int )tmp);
2059 }   2059 }
2060 }   2060 }
2061 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;   2061 __inline extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )  __attribute__((__pure__)) ;
2062 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )   2062 __inline extern long ( __attribute__((__nonnull__(1))) atol)(char const   *__nptr )
2063 {   2063 {
2064   long tmp ;   2064   long tmp ;
2065     2065  
2066   {   2066   {
2067   tmp = strtol((char const   */* __restrict  */)__nptr,   2067   tmp = strtol((char const   */* __restrict  */)__nptr,
2068                (char **/* __restrict  */)((char **)((void *)0)), 10);   2068                (char **/* __restrict  */)((char **)((void *)0)), 10);
2069   return (tmp);   2069   return (tmp);
2070 }   2070 }
2071 }   2071 }
2072 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;   2072 __inline extern  __attribute__((__nothrow__)) long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )  __attribute__((__pure__)) ;
2073 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )   2073 __inline extern long long ( __attribute__((__nonnull__(1))) atoll)(char const   *__nptr )
2074 {   2074 {
2075   long long tmp ;   2075   long long tmp ;
2076     2076  
2077   {   2077   {
2078   tmp = strtoll((char const   */* __restrict  */)__nptr,   2078   tmp = strtoll((char const   */* __restrict  */)__nptr,
2079                 (char **/* __restrict  */)((char **)((void *)0)), 10);   2079                 (char **/* __restrict  */)((char **)((void *)0)), 10);
2080   return (tmp);   2080   return (tmp);
2081 }   2081 }
2082 }   2082 }
2083 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;   2083 extern  __attribute__((__nothrow__)) char *l64a(long __n ) ;
2084 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;   2084 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) a64l)(char const   *__s )  __attribute__((__pure__)) ;
2085 extern  __attribute__((__nothrow__)) long random(void) ;   2085 extern  __attribute__((__nothrow__)) long random(void) ;
2086 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;   2086 extern  __attribute__((__nothrow__)) void srandom(unsigned int __seed ) ;
2087 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,   2087 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(2))) initstate)(unsigned int __seed ,
2088                                                                                         char *__statebuf ,   2088                                                                                         char *__statebuf ,
2089                                                                                         size_t __statelen ) ;   2089                                                                                         size_t __statelen ) ;
2090 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;   2090 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) setstate)(char *__statebuf ) ;
2091 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,   2091 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) random_r)(struct random_data * __restrict  __buf ,
2092                                                                                        int32_t * __restrict  __result ) ;   2092                                                                                        int32_t * __restrict  __result ) ;
2093 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,   2093 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srandom_r)(unsigned int __seed ,
2094                                                                                       struct random_data *__buf ) ;   2094                                                                                       struct random_data *__buf ) ;
2095 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,   2095 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2,4))) initstate_r)(unsigned int __seed ,
2096                                                                                           char * __restrict  __statebuf ,   2096                                                                                           char * __restrict  __statebuf ,
2097                                                                                           size_t __statelen ,   2097                                                                                           size_t __statelen ,
2098                                                                                           struct random_data * __restrict  __buf ) ;   2098                                                                                           struct random_data * __restrict  __buf ) ;
2099 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,   2099 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) setstate_r)(char * __restrict  __statebuf ,
2100                                                                                          struct random_data * __restrict  __buf ) ;   2100                                                                                          struct random_data * __restrict  __buf ) ;
2101 extern  __attribute__((__nothrow__)) int rand(void) ;   2101 extern  __attribute__((__nothrow__)) int rand(void) ;
2102 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;   2102 extern  __attribute__((__nothrow__)) void srand(unsigned int __seed ) ;
2103 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;   2103 extern  __attribute__((__nothrow__)) int rand_r(unsigned int *__seed ) ;
2104 extern  __attribute__((__nothrow__)) double drand48(void) ;   2104 extern  __attribute__((__nothrow__)) double drand48(void) ;
2105 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;   2105 extern  __attribute__((__nothrow__)) double ( __attribute__((__nonnull__(1))) erand48)(unsigned short *__xsubi ) ;
2106 extern  __attribute__((__nothrow__)) long lrand48(void) ;   2106 extern  __attribute__((__nothrow__)) long lrand48(void) ;
2107 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;   2107 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) nrand48)(unsigned short *__xsubi ) ;
2108 extern  __attribute__((__nothrow__)) long mrand48(void) ;   2108 extern  __attribute__((__nothrow__)) long mrand48(void) ;
2109 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;   2109 extern  __attribute__((__nothrow__)) long ( __attribute__((__nonnull__(1))) jrand48)(unsigned short *__xsubi ) ;
2110 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;   2110 extern  __attribute__((__nothrow__)) void srand48(long __seedval ) ;
2111 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;   2111 extern  __attribute__((__nothrow__)) unsigned short *( __attribute__((__nonnull__(1))) seed48)(unsigned short *__seed16v ) ;
2112 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;   2112 extern  __attribute__((__nothrow__)) void ( __attribute__((__nonnull__(1))) lcong48)(unsigned short *__param ) ;
2113 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,   2113 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) drand48_r)(struct drand48_data * __restrict  __buffer ,
2114                                                                                         double * __restrict  __result ) ;   2114                                                                                         double * __restrict  __result ) ;
2115 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,   2115 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) erand48_r)(unsigned short *__xsubi ,
2116                                                                                         struct drand48_data * __restrict  __buffer ,   2116                                                                                         struct drand48_data * __restrict  __buffer ,
2117                                                                                         double * __restrict  __result ) ;   2117                                                                                         double * __restrict  __result ) ;
2118 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,   2118 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lrand48_r)(struct drand48_data * __restrict  __buffer ,
2119                                                                                         long * __restrict  __result ) ;   2119                                                                                         long * __restrict  __result ) ;
2120 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,   2120 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) nrand48_r)(unsigned short *__xsubi ,
2121                                                                                         struct drand48_data * __restrict  __buffer ,   2121                                                                                         struct drand48_data * __restrict  __buffer ,
2122                                                                                         long * __restrict  __result ) ;   2122                                                                                         long * __restrict  __result ) ;
2123 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,   2123 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) mrand48_r)(struct drand48_data * __restrict  __buffer ,
2124                                                                                         long * __restrict  __result ) ;   2124                                                                                         long * __restrict  __result ) ;
2125 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,   2125 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) jrand48_r)(unsigned short *__xsubi ,
2126                                                                                         struct drand48_data * __restrict  __buffer ,   2126                                                                                         struct drand48_data * __restrict  __buffer ,
2127                                                                                         long * __restrict  __result ) ;   2127                                                                                         long * __restrict  __result ) ;
2128 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,   2128 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) srand48_r)(long __seedval ,
2129                                                                                       struct drand48_data *__buffer ) ;   2129                                                                                       struct drand48_data *__buffer ) ;
2130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,   2130 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) seed48_r)(unsigned short *__seed16v ,
2131                                                                                        struct drand48_data *__buffer ) ;   2131                                                                                        struct drand48_data *__buffer ) ;
2132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,   2132 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2))) lcong48_r)(unsigned short *__param ,
2133                                                                                         struct drand48_data *__buffer ) ;   2133                                                                                         struct drand48_data *__buffer ) ;
2134 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,   2134 extern  __attribute__((__nothrow__)) void *( __attribute__((__warn_unused_result__)) realloc)(void *__ptr ,
2135                                                                                               size_t __size ) ;   2135                                                                                               size_t __size ) ;
2136 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;   2136 extern  __attribute__((__nothrow__)) void free(void *__ptr ) ;
2137 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;   2137 extern  __attribute__((__nothrow__)) void cfree(void *__ptr ) ;
2138 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;   2138 extern  __attribute__((__nothrow__)) void *alloca(size_t __size ) ;
2139 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;   2139 extern  __attribute__((__nothrow__)) void *valloc(size_t __size )  __attribute__((__malloc__)) ;
2140 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,   2140 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) posix_memalign)(void **__memptr ,
2141                                                                                            size_t __alignment ,   2141                                                                                            size_t __alignment ,
2142                                                                                            size_t __size ) ;   2142                                                                                            size_t __size ) ;
2143 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;   2143 extern  __attribute__((__nothrow__, __noreturn__)) void abort(void) ;
2144 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;   2144 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) atexit)(void (*__func)(void) ) ;
2145 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,   2145 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) on_exit)(void (*__func)(int __status ,
2146                                                                                                    void *__arg ) ,   2146                                                                                                    void *__arg ) ,
2147                                                                                     void *__arg ) ;   2147                                                                                     void *__arg ) ;
2148 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;   2148 extern  __attribute__((__nothrow__, __noreturn__)) void exit(int __status ) ;
2149 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;   2149 extern  __attribute__((__nothrow__, __noreturn__)) void _Exit(int __status ) ;
2150 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;   2150 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) getenv)(char const   *__name ) ;
2151 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;   2151 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) __secure_getenv)(char const   *__name ) ;
2152 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;   2152 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) putenv)(char *__string ) ;
2153 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,   2153 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(2))) setenv)(char const   *__name ,
2154                                                                                    char const   *__value ,   2154                                                                                    char const   *__value ,
2155                                                                                    int __replace ) ;   2155                                                                                    int __replace ) ;
2156 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;   2156 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) unsetenv)(char const   *__name ) ;
2157 extern  __attribute__((__nothrow__)) int clearenv(void) ;   2157 extern  __attribute__((__nothrow__)) int clearenv(void) ;
2158 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;   2158 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mktemp)(char *__template ) ;
2159 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;   2159 extern int ( __attribute__((__nonnull__(1))) mkstemp)(char *__template )  __asm__("mkstemp64")  ;
2160 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,   2160 extern int ( __attribute__((__nonnull__(1))) mkstemps)(char *__template ,
2161                                                        int __suffixlen )  __asm__("mkstemps64")  ;   2161                                                        int __suffixlen )  __asm__("mkstemps64")  ;
2162 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;   2162 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(1))) mkdtemp)(char *__template ) ;
2163 extern int system(char const   *__command ) ;   2163 extern int system(char const   *__command ) ;
2164 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,   2164 extern  __attribute__((__nothrow__)) char *realpath(char const   * __restrict  __name ,
2165                                                     char * __restrict  __resolved ) ;   2165                                                     char * __restrict  __resolved ) ;
2166 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,   2166 extern void *( __attribute__((__nonnull__(1,2,5))) bsearch)(void const   *__key ,
2167                                                             void const   *__base ,   2167                                                             void const   *__base ,
2168                                                             size_t __nmemb ,   2168                                                             size_t __nmemb ,
2169                                                             size_t __size ,   2169                                                             size_t __size ,
2170                                                             int (*__compar)(void const   * ,   2170                                                             int (*__compar)(void const   * ,
2171                                                                             void const   * ) ) ;   2171                                                                             void const   * ) ) ;
2172 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,   2172 extern void ( __attribute__((__nonnull__(1,4))) qsort)(void *__base ,
2173                                                        size_t __nmemb ,   2173                                                        size_t __nmemb ,
2174                                                        size_t __size ,   2174                                                        size_t __size ,
2175                                                        int (*__compar)(void const   * ,   2175                                                        int (*__compar)(void const   * ,
2176                                                                        void const   * ) ) ;   2176                                                                        void const   * ) ) ;
2177 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;   2177 extern  __attribute__((__nothrow__)) int abs(int __x )  __attribute__((__const__)) ;
2178 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;   2178 extern  __attribute__((__nothrow__)) long labs(long __x )  __attribute__((__const__)) ;
2179 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;   2179 extern  __attribute__((__nothrow__)) long long llabs(long long __x )  __attribute__((__const__)) ;
2180 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;   2180 extern  __attribute__((__nothrow__)) div_t div(int __numer , int __denom )  __attribute__((__const__)) ;
2181 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;   2181 extern  __attribute__((__nothrow__)) ldiv_t ldiv(long __numer , long __denom )  __attribute__((__const__)) ;
2182 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,   2182 extern  __attribute__((__nothrow__)) lldiv_t lldiv(long long __numer ,
2183                                                    long long __denom )  __attribute__((__const__)) ;   2183                                                    long long __denom )  __attribute__((__const__)) ;
2184 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,   2184 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) ecvt)(double __value ,
2185                                                                                      int __ndigit ,   2185                                                                                      int __ndigit ,
2186                                                                                      int * __restrict  __decpt ,   2186                                                                                      int * __restrict  __decpt ,
2187                                                                                      int * __restrict  __sign ) ;   2187                                                                                      int * __restrict  __sign ) ;
2188 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,   2188 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) fcvt)(double __value ,
2189                                                                                      int __ndigit ,   2189                                                                                      int __ndigit ,
2190                                                                                      int * __restrict  __decpt ,   2190                                                                                      int * __restrict  __decpt ,
2191                                                                                      int * __restrict  __sign ) ;   2191                                                                                      int * __restrict  __sign ) ;
2192 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,   2192 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) gcvt)(double __value ,
2193                                                                                    int __ndigit ,   2193                                                                                    int __ndigit ,
2194                                                                                    char *__buf ) ;   2194                                                                                    char *__buf ) ;
2195 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,   2195 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qecvt)(long double __value ,
2196                                                                                       int __ndigit ,   2196                                                                                       int __ndigit ,
2197                                                                                       int * __restrict  __decpt ,   2197                                                                                       int * __restrict  __decpt ,
2198                                                                                       int * __restrict  __sign ) ;   2198                                                                                       int * __restrict  __sign ) ;
2199 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,   2199 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3,4))) qfcvt)(long double __value ,
2200                                                                                       int __ndigit ,   2200                                                                                       int __ndigit ,
2201                                                                                       int * __restrict  __decpt ,   2201                                                                                       int * __restrict  __decpt ,
2202                                                                                       int * __restrict  __sign ) ;   2202                                                                                       int * __restrict  __sign ) ;
2203 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,   2203 extern  __attribute__((__nothrow__)) char *( __attribute__((__nonnull__(3))) qgcvt)(long double __value ,
2204                                                                                     int __ndigit ,   2204                                                                                     int __ndigit ,
2205                                                                                     char *__buf ) ;   2205                                                                                     char *__buf ) ;
2206 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,   2206 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) ecvt_r)(double __value ,
2207                                                                                        int __ndigit ,   2207                                                                                        int __ndigit ,
2208                                                                                        int * __restrict  __decpt ,   2208                                                                                        int * __restrict  __decpt ,
2209                                                                                        int * __restrict  __sign ,   2209                                                                                        int * __restrict  __sign ,
2210                                                                                        char * __restrict  __buf ,   2210                                                                                        char * __restrict  __buf ,
2211                                                                                        size_t __len ) ;   2211                                                                                        size_t __len ) ;
2212 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,   2212 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) fcvt_r)(double __value ,
2213                                                                                        int __ndigit ,   2213                                                                                        int __ndigit ,
2214                                                                                        int * __restrict  __decpt ,   2214                                                                                        int * __restrict  __decpt ,
2215                                                                                        int * __restrict  __sign ,   2215                                                                                        int * __restrict  __sign ,
2216                                                                                        char * __restrict  __buf ,   2216                                                                                        char * __restrict  __buf ,
2217                                                                                        size_t __len ) ;   2217                                                                                        size_t __len ) ;
2218 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,   2218 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qecvt_r)(long double __value ,
2219                                                                                         int __ndigit ,   2219                                                                                         int __ndigit ,
2220                                                                                         int * __restrict  __decpt ,   2220                                                                                         int * __restrict  __decpt ,
2221                                                                                         int * __restrict  __sign ,   2221                                                                                         int * __restrict  __sign ,
2222                                                                                         char * __restrict  __buf ,   2222                                                                                         char * __restrict  __buf ,
2223                                                                                         size_t __len ) ;   2223                                                                                         size_t __len ) ;
2224 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,   2224 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(3,4,5))) qfcvt_r)(long double __value ,
2225                                                                                         int __ndigit ,   2225                                                                                         int __ndigit ,
2226                                                                                         int * __restrict  __decpt ,   2226                                                                                         int * __restrict  __decpt ,
2227                                                                                         int * __restrict  __sign ,   2227                                                                                         int * __restrict  __sign ,
2228                                                                                         char * __restrict  __buf ,   2228                                                                                         char * __restrict  __buf ,
2229                                                                                         size_t __len ) ;   2229                                                                                         size_t __len ) ;
2230 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;   2230 extern  __attribute__((__nothrow__)) int mblen(char const   *__s , size_t __n ) ;
2231 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,   2231 extern  __attribute__((__nothrow__)) int mbtowc(wchar_t * __restrict  __pwc ,
2232                                                 char const   * __restrict  __s ,   2232                                                 char const   * __restrict  __s ,
2233                                                 size_t __n ) ;   2233                                                 size_t __n ) ;
2234 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;   2234 extern  __attribute__((__nothrow__)) int wctomb(char *__s , wchar_t __wchar ) ;
2235 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,   2235 extern  __attribute__((__nothrow__)) size_t mbstowcs(wchar_t * __restrict  __pwcs ,
2236                                                      char const   * __restrict  __s ,   2236                                                      char const   * __restrict  __s ,
2237                                                      size_t __n ) ;   2237                                                      size_t __n ) ;
2238 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,   2238 extern  __attribute__((__nothrow__)) size_t wcstombs(char * __restrict  __s ,
2239                                                      wchar_t const   * __restrict  __pwcs ,   2239                                                      wchar_t const   * __restrict  __pwcs ,
2240                                                      size_t __n ) ;   2240                                                      size_t __n ) ;
2241 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;   2241 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) rpmatch)(char const   *__response ) ;
2242 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,   2242 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1,2,3))) getsubopt)(char ** __restrict  __optionp ,
2243                                                                                           char * const  * __restrict  __tokens ,   2243                                                                                           char * const  * __restrict  __tokens ,
2244                                                                                           char ** __restrict  __valuep ) ;   2244                                                                                           char ** __restrict  __valuep ) ;
2245 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,   2245 extern  __attribute__((__nothrow__)) int ( __attribute__((__nonnull__(1))) getloadavg)(double *__loadavg ,
2246                                                                                        int __nelem ) ;   2246                                                                                        int __nelem ) ;
2247 static struct _TIFFFieldArray  const  tiffFieldArray ;   2247 static struct _TIFFFieldArray  const  tiffFieldArray ;
2248 static struct _TIFFFieldArray  const  exifFieldArray ;   2248 static struct _TIFFFieldArray  const  exifFieldArray ;
2249 static TIFFField const   tiffFields[138]  =   2249 static TIFFField const   tiffFields[138]  =
2250   {      {(uint32 )254, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2250   {      {(uint32 )254, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2251       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)5,   2251       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)5,
2252       (unsigned char)1, (unsigned char)0, (char *)"SubfileType",   2252       (unsigned char)1, (unsigned char)0, (char *)"SubfileType",
2253       (TIFFFieldArray *)((void *)0)},   2253       (TIFFFieldArray *)((void *)0)},
2254         {(uint32 )255, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2254         {(uint32 )255, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2255       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)5,   2255       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)5,
2256       (unsigned char)1, (unsigned char)0, (char *)"OldSubfileType",   2256       (unsigned char)1, (unsigned char)0, (char *)"OldSubfileType",
2257       (TIFFFieldArray *)((void *)0)},   2257       (TIFFFieldArray *)((void *)0)},
2258         {(uint32 )256, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2258         {(uint32 )256, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2259       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,   2259       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,
2260       (unsigned char)0, (unsigned char)0, (char *)"ImageWidth",   2260       (unsigned char)0, (unsigned char)0, (char *)"ImageWidth",
2261       (TIFFFieldArray *)((void *)0)},   2261       (TIFFFieldArray *)((void *)0)},
2262         {(uint32 )257, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2262         {(uint32 )257, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2263       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,   2263       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)1,
2264       (unsigned char)1, (unsigned char)0, (char *)"ImageLength",   2264       (unsigned char)1, (unsigned char)0, (char *)"ImageLength",
2265       (TIFFFieldArray *)((void *)0)},   2265       (TIFFFieldArray *)((void *)0)},
2266         {(uint32 )258, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2266         {(uint32 )258, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2267       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)6,   2267       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)6,
2268       (unsigned char)0, (unsigned char)0, (char *)"BitsPerSample",   2268       (unsigned char)0, (unsigned char)0, (char *)"BitsPerSample",
2269       (TIFFFieldArray *)((void *)0)},   2269       (TIFFFieldArray *)((void *)0)},
2270         {(uint32 )259, (short)-1, (short)1, (TIFFDataType )3, (uint32 )0,   2270         {(uint32 )259, (short)-1, (short)1, (TIFFDataType )3, (uint32 )0,
2271       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)7,   2271       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)7,
2272       (unsigned char)0, (unsigned char)0, (char *)"Compression",   2272       (unsigned char)0, (unsigned char)0, (char *)"Compression",
2273       (TIFFFieldArray *)((void *)0)},   2273       (TIFFFieldArray *)((void *)0)},
2274         {(uint32 )262, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2274         {(uint32 )262, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2275       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)8,   2275       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)8,
2276       (unsigned char)0, (unsigned char)0, (char *)"PhotometricInterpretation",   2276       (unsigned char)0, (unsigned char)0, (char *)"PhotometricInterpretation",
2277       (TIFFFieldArray *)((void *)0)},   2277       (TIFFFieldArray *)((void *)0)},
2278         {(uint32 )263, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2278         {(uint32 )263, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2279       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)9,   2279       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)9,
2280       (unsigned char)1, (unsigned char)0, (char *)"Threshholding",   2280       (unsigned char)1, (unsigned char)0, (char *)"Threshholding",
2281       (TIFFFieldArray *)((void *)0)},   2281       (TIFFFieldArray *)((void *)0)},
2282         {(uint32 )264, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2282         {(uint32 )264, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2283       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2283       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2284       (unsigned char)1, (unsigned char)0, (char *)"CellWidth",   2284       (unsigned char)1, (unsigned char)0, (char *)"CellWidth",
2285       (TIFFFieldArray *)((void *)0)},   2285       (TIFFFieldArray *)((void *)0)},
2286         {(uint32 )265, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2286         {(uint32 )265, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2287       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2287       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2288       (unsigned char)1, (unsigned char)0, (char *)"CellLength",   2288       (unsigned char)1, (unsigned char)0, (char *)"CellLength",
2289       (TIFFFieldArray *)((void *)0)},   2289       (TIFFFieldArray *)((void *)0)},
2290         {(uint32 )266, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2290         {(uint32 )266, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2291       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)10,   2291       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)10,
2292       (unsigned char)0, (unsigned char)0, (char *)"FillOrder",   2292       (unsigned char)0, (unsigned char)0, (char *)"FillOrder",
2293       (TIFFFieldArray *)((void *)0)},   2293       (TIFFFieldArray *)((void *)0)},
2294         {(uint32 )269, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2294         {(uint32 )269, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2295       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2295       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2296       (unsigned char)1, (unsigned char)0, (char *)"DocumentName",   2296       (unsigned char)1, (unsigned char)0, (char *)"DocumentName",
2297       (TIFFFieldArray *)((void *)0)},   2297       (TIFFFieldArray *)((void *)0)},
2298         {(uint32 )270, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2298         {(uint32 )270, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2299       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2299       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2300       (unsigned char)1, (unsigned char)0, (char *)"ImageDescription",   2300       (unsigned char)1, (unsigned char)0, (char *)"ImageDescription",
2301       (TIFFFieldArray *)((void *)0)},   2301       (TIFFFieldArray *)((void *)0)},
2302         {(uint32 )271, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2302         {(uint32 )271, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2303       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2303       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2304       (unsigned char)1, (unsigned char)0, (char *)"Make",   2304       (unsigned char)1, (unsigned char)0, (char *)"Make",
2305       (TIFFFieldArray *)((void *)0)},   2305       (TIFFFieldArray *)((void *)0)},
2306         {(uint32 )272, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2306         {(uint32 )272, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2307       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2307       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2308       (unsigned char)1, (unsigned char)0, (char *)"Model",   2308       (unsigned char)1, (unsigned char)0, (char *)"Model",
2309       (TIFFFieldArray *)((void *)0)},   2309       (TIFFFieldArray *)((void *)0)},
2310         {(uint32 )273, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2310         {(uint32 )273, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2311       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,   2311       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,
2312       (unsigned char)0, (unsigned char)0, (char *)"StripOffsets",   2312       (unsigned char)0, (unsigned char)0, (char *)"StripOffsets",
2313       (TIFFFieldArray *)((void *)0)},   2313       (TIFFFieldArray *)((void *)0)},
2314         {(uint32 )274, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2314         {(uint32 )274, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2315       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)15,   2315       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)15,
2316       (unsigned char)0, (unsigned char)0, (char *)"Orientation",   2316       (unsigned char)0, (unsigned char)0, (char *)"Orientation",
2317       (TIFFFieldArray *)((void *)0)},   2317       (TIFFFieldArray *)((void *)0)},
2318         {(uint32 )277, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2318         {(uint32 )277, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2319       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)16,   2319       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)16,
2320       (unsigned char)0, (unsigned char)0, (char *)"SamplesPerPixel",   2320       (unsigned char)0, (unsigned char)0, (char *)"SamplesPerPixel",
2321       (TIFFFieldArray *)((void *)0)},   2321       (TIFFFieldArray *)((void *)0)},
2322         {(uint32 )278, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2322         {(uint32 )278, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2323       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)17,   2323       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)17,
2324       (unsigned char)0, (unsigned char)0, (char *)"RowsPerStrip",   2324       (unsigned char)0, (unsigned char)0, (char *)"RowsPerStrip",
2325       (TIFFFieldArray *)((void *)0)},   2325       (TIFFFieldArray *)((void *)0)},
2326         {(uint32 )279, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2326         {(uint32 )279, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2327       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,   2327       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,
2328       (unsigned char)0, (unsigned char)0, (char *)"StripByteCounts",   2328       (unsigned char)0, (unsigned char)0, (char *)"StripByteCounts",
2329       (TIFFFieldArray *)((void *)0)},   2329       (TIFFFieldArray *)((void *)0)},
2330         {(uint32 )280, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,   2330         {(uint32 )280, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,
2331       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)18,   2331       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)18,
2332       (unsigned char)1, (unsigned char)0, (char *)"MinSampleValue",   2332       (unsigned char)1, (unsigned char)0, (char *)"MinSampleValue",
2333       (TIFFFieldArray *)((void *)0)},   2333       (TIFFFieldArray *)((void *)0)},
2334         {(uint32 )281, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,   2334         {(uint32 )281, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,
2335       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)19,   2335       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)19,
2336       (unsigned char)1, (unsigned char)0, (char *)"MaxSampleValue",   2336       (unsigned char)1, (unsigned char)0, (char *)"MaxSampleValue",
2337       (TIFFFieldArray *)((void *)0)},   2337       (TIFFFieldArray *)((void *)0)},
2338         {(uint32 )282, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2338         {(uint32 )282, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2339       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,   2339       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,
2340       (unsigned char)1, (unsigned char)0, (char *)"XResolution",   2340       (unsigned char)1, (unsigned char)0, (char *)"XResolution",
2341       (TIFFFieldArray *)((void *)0)},   2341       (TIFFFieldArray *)((void *)0)},
2342         {(uint32 )283, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2342         {(uint32 )283, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2343       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,   2343       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)3,
2344       (unsigned char)1, (unsigned char)0, (char *)"YResolution",   2344       (unsigned char)1, (unsigned char)0, (char *)"YResolution",
2345       (TIFFFieldArray *)((void *)0)},   2345       (TIFFFieldArray *)((void *)0)},
2346         {(uint32 )284, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2346         {(uint32 )284, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2347       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)20,   2347       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)20,
2348       (unsigned char)0, (unsigned char)0, (char *)"PlanarConfiguration",   2348       (unsigned char)0, (unsigned char)0, (char *)"PlanarConfiguration",
2349       (TIFFFieldArray *)((void *)0)},   2349       (TIFFFieldArray *)((void *)0)},
2350         {(uint32 )285, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2350         {(uint32 )285, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2351       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2351       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2352       (unsigned char)1, (unsigned char)0, (char *)"PageName",   2352       (unsigned char)1, (unsigned char)0, (char *)"PageName",
2353       (TIFFFieldArray *)((void *)0)},   2353       (TIFFFieldArray *)((void *)0)},
2354         {(uint32 )286, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2354         {(uint32 )286, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2355       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,   2355       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,
2356       (unsigned char)1, (unsigned char)0, (char *)"XPosition",   2356       (unsigned char)1, (unsigned char)0, (char *)"XPosition",
2357       (TIFFFieldArray *)((void *)0)},   2357       (TIFFFieldArray *)((void *)0)},
2358         {(uint32 )287, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2358         {(uint32 )287, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2359       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,   2359       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)4,
2360       (unsigned char)1, (unsigned char)0, (char *)"YPosition",   2360       (unsigned char)1, (unsigned char)0, (char *)"YPosition",
2361       (TIFFFieldArray *)((void *)0)},   2361       (TIFFFieldArray *)((void *)0)},
2362         {(uint32 )288, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2362         {(uint32 )288, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2363       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2363       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2364       (unsigned char)0, (unsigned char)0, (char *)"FreeOffsets",   2364       (unsigned char)0, (unsigned char)0, (char *)"FreeOffsets",
2365       (TIFFFieldArray *)((void *)0)},   2365       (TIFFFieldArray *)((void *)0)},
2366         {(uint32 )289, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,   2366         {(uint32 )289, (short)-1, (short)-1, (TIFFDataType )16, (uint32 )0,
2367       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2367       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2368       (unsigned char)0, (unsigned char)0, (char *)"FreeByteCounts",   2368       (unsigned char)0, (unsigned char)0, (char *)"FreeByteCounts",
2369       (TIFFFieldArray *)((void *)0)},   2369       (TIFFFieldArray *)((void *)0)},
2370         {(uint32 )290, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2370         {(uint32 )290, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2371       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2371       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2372       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseUnit",   2372       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseUnit",
2373       (TIFFFieldArray *)((void *)0)},   2373       (TIFFFieldArray *)((void *)0)},
2374         {(uint32 )291, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2374         {(uint32 )291, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2375       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2375       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2376       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseCurve",   2376       (unsigned char)1, (unsigned char)0, (char *)"GrayResponseCurve",
2377       (TIFFFieldArray *)((void *)0)},   2377       (TIFFFieldArray *)((void *)0)},
2378         {(uint32 )296, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2378         {(uint32 )296, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2379       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)22,   2379       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)22,
2380       (unsigned char)1, (unsigned char)0, (char *)"ResolutionUnit",   2380       (unsigned char)1, (unsigned char)0, (char *)"ResolutionUnit",
2381       (TIFFFieldArray *)((void *)0)},   2381       (TIFFFieldArray *)((void *)0)},
2382         {(uint32 )297, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2382         {(uint32 )297, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2383       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)23,   2383       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)23,
2384       (unsigned char)1, (unsigned char)0, (char *)"PageNumber",   2384       (unsigned char)1, (unsigned char)0, (char *)"PageNumber",
2385       (TIFFFieldArray *)((void *)0)},   2385       (TIFFFieldArray *)((void *)0)},
2386         {(uint32 )300, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2386         {(uint32 )300, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2387       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,   2387       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)0,
2388       (unsigned char)1, (unsigned char)0, (char *)"ColorResponseUnit",   2388       (unsigned char)1, (unsigned char)0, (char *)"ColorResponseUnit",
2389       (TIFFFieldArray *)((void *)0)},   2389       (TIFFFieldArray *)((void *)0)},
2390         {(uint32 )301, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2390         {(uint32 )301, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2391       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)44,   2391       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)44,
2392       (unsigned char)1, (unsigned char)0, (char *)"TransferFunction",   2392       (unsigned char)1, (unsigned char)0, (char *)"TransferFunction",
2393       (TIFFFieldArray *)((void *)0)},   2393       (TIFFFieldArray *)((void *)0)},
2394         {(uint32 )305, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2394         {(uint32 )305, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2395       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2395       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2396       (unsigned char)1, (unsigned char)0, (char *)"Software",   2396       (unsigned char)1, (unsigned char)0, (char *)"Software",
2397       (TIFFFieldArray *)((void *)0)},   2397       (TIFFFieldArray *)((void *)0)},
2398         {(uint32 )306, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,   2398         {(uint32 )306, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,
2399       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2399       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2400       (unsigned char)1, (unsigned char)0, (char *)"DateTime",   2400       (unsigned char)1, (unsigned char)0, (char *)"DateTime",
2401       (TIFFFieldArray *)((void *)0)},   2401       (TIFFFieldArray *)((void *)0)},
2402         {(uint32 )315, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2402         {(uint32 )315, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2403       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2403       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2404       (unsigned char)1, (unsigned char)0, (char *)"Artist",   2404       (unsigned char)1, (unsigned char)0, (char *)"Artist",
2405       (TIFFFieldArray *)((void *)0)},   2405       (TIFFFieldArray *)((void *)0)},
2406         {(uint32 )316, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2406         {(uint32 )316, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2407       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2407       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2408       (unsigned char)1, (unsigned char)0, (char *)"HostComputer",   2408       (unsigned char)1, (unsigned char)0, (char *)"HostComputer",
2409       (TIFFFieldArray *)((void *)0)},   2409       (TIFFFieldArray *)((void *)0)},
2410         {(uint32 )318, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2410         {(uint32 )318, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2411       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2411       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2412       (unsigned char)1, (unsigned char)0, (char *)"WhitePoint",   2412       (unsigned char)1, (unsigned char)0, (char *)"WhitePoint",
2413       (TIFFFieldArray *)((void *)0)},   2413       (TIFFFieldArray *)((void *)0)},
2414         {(uint32 )319, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,   2414         {(uint32 )319, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,
2415       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2415       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2416       (unsigned char)1, (unsigned char)0, (char *)"PrimaryChromaticities",   2416       (unsigned char)1, (unsigned char)0, (char *)"PrimaryChromaticities",
2417       (TIFFFieldArray *)((void *)0)},   2417       (TIFFFieldArray *)((void *)0)},
2418         {(uint32 )320, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2418         {(uint32 )320, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2419       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)26,   2419       (TIFFSetGetFieldType )51, (TIFFSetGetFieldType )0, (unsigned short)26,
2420       (unsigned char)1, (unsigned char)0, (char *)"ColorMap",   2420       (unsigned char)1, (unsigned char)0, (char *)"ColorMap",
2421       (TIFFFieldArray *)((void *)0)},   2421       (TIFFFieldArray *)((void *)0)},
2422         {(uint32 )321, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2422         {(uint32 )321, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2423       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)37,   2423       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)37,
2424       (unsigned char)1, (unsigned char)0, (char *)"HalftoneHints",   2424       (unsigned char)1, (unsigned char)0, (char *)"HalftoneHints",
2425       (TIFFFieldArray *)((void *)0)},   2425       (TIFFFieldArray *)((void *)0)},
2426         {(uint32 )322, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2426         {(uint32 )322, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2427       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,   2427       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,
2428       (unsigned char)0, (unsigned char)0, (char *)"TileWidth",   2428       (unsigned char)0, (unsigned char)0, (char *)"TileWidth",
2429       (TIFFFieldArray *)((void *)0)},   2429       (TIFFFieldArray *)((void *)0)},
2430         {(uint32 )323, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2430         {(uint32 )323, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2431       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,   2431       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)2,
2432       (unsigned char)0, (unsigned char)0, (char *)"TileLength",   2432       (unsigned char)0, (unsigned char)0, (char *)"TileLength",
2433       (TIFFFieldArray *)((void *)0)},   2433       (TIFFFieldArray *)((void *)0)},
2434         {(uint32 )324, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,   2434         {(uint32 )324, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,
2435       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,   2435       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)25,
2436       (unsigned char)0, (unsigned char)0, (char *)"TileOffsets",   2436       (unsigned char)0, (unsigned char)0, (char *)"TileOffsets",
2437       (TIFFFieldArray *)((void *)0)},   2437       (TIFFFieldArray *)((void *)0)},
2438         {(uint32 )325, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,   2438         {(uint32 )325, (short)-1, (short)1, (TIFFDataType )16, (uint32 )0,
2439       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,   2439       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)24,
2440       (unsigned char)0, (unsigned char)0, (char *)"TileByteCounts",   2440       (unsigned char)0, (unsigned char)0, (char *)"TileByteCounts",
2441       (TIFFFieldArray *)((void *)0)},   2441       (TIFFFieldArray *)((void *)0)},
2442         {(uint32 )330, (short)-1, (short)-1, (TIFFDataType )18, (uint32 )0,   2442         {(uint32 )330, (short)-1, (short)-1, (TIFFDataType )18, (uint32 )0,
2443       (TIFFSetGetFieldType )38, (TIFFSetGetFieldType )0, (unsigned short)49,   2443       (TIFFSetGetFieldType )38, (TIFFSetGetFieldType )0, (unsigned short)49,
2444       (unsigned char)1, (unsigned char)1, (char *)"SubIFD",   2444       (unsigned char)1, (unsigned char)1, (char *)"SubIFD",
2445       (TIFFFieldArray *)(& tiffFieldArray)},   2445       (TIFFFieldArray *)(& tiffFieldArray)},
2446         {(uint32 )332, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2446         {(uint32 )332, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2447       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2447       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2448       (unsigned char)0, (unsigned char)0, (char *)"InkSet",   2448       (unsigned char)0, (unsigned char)0, (char *)"InkSet",
2449       (TIFFFieldArray *)((void *)0)},   2449       (TIFFFieldArray *)((void *)0)},
2450         {(uint32 )333, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2450         {(uint32 )333, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2451       (TIFFSetGetFieldType )27, (TIFFSetGetFieldType )0, (unsigned short)46,   2451       (TIFFSetGetFieldType )27, (TIFFSetGetFieldType )0, (unsigned short)46,
2452       (unsigned char)1, (unsigned char)1, (char *)"InkNames",   2452       (unsigned char)1, (unsigned char)1, (char *)"InkNames",
2453       (TIFFFieldArray *)((void *)0)},   2453       (TIFFFieldArray *)((void *)0)},
2454         {(uint32 )334, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2454         {(uint32 )334, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2455       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2455       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2456       (unsigned char)1, (unsigned char)0, (char *)"NumberOfInks",   2456       (unsigned char)1, (unsigned char)0, (char *)"NumberOfInks",
2457       (TIFFFieldArray *)((void *)0)},   2457       (TIFFFieldArray *)((void *)0)},
2458         {(uint32 )336, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2458         {(uint32 )336, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2459       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)65,   2459       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)65,
2460       (unsigned char)0, (unsigned char)0, (char *)"DotRange",   2460       (unsigned char)0, (unsigned char)0, (char *)"DotRange",
2461       (TIFFFieldArray *)((void *)0)},   2461       (TIFFFieldArray *)((void *)0)},
2462         {(uint32 )337, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2462         {(uint32 )337, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2463       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2463       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2464       (unsigned char)1, (unsigned char)0, (char *)"TargetPrinter",   2464       (unsigned char)1, (unsigned char)0, (char *)"TargetPrinter",
2465       (TIFFFieldArray *)((void *)0)},   2465       (TIFFFieldArray *)((void *)0)},
2466         {(uint32 )338, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2466         {(uint32 )338, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2467       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)31,   2467       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)31,
2468       (unsigned char)0, (unsigned char)1, (char *)"ExtraSamples",   2468       (unsigned char)0, (unsigned char)1, (char *)"ExtraSamples",
2469       (TIFFFieldArray *)((void *)0)},   2469       (TIFFFieldArray *)((void *)0)},
2470         {(uint32 )339, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2470         {(uint32 )339, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2471       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,   2471       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,
2472       (unsigned char)0, (unsigned char)0, (char *)"SampleFormat",   2472       (unsigned char)0, (unsigned char)0, (char *)"SampleFormat",
2473       (TIFFFieldArray *)((void *)0)},   2473       (TIFFFieldArray *)((void *)0)},
2474         {(uint32 )340, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,   2474         {(uint32 )340, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,
2475       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)33,   2475       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)33,
2476       (unsigned char)1, (unsigned char)0, (char *)"SMinSampleValue",   2476       (unsigned char)1, (unsigned char)0, (char *)"SMinSampleValue",
2477       (TIFFFieldArray *)((void *)0)},   2477       (TIFFFieldArray *)((void *)0)},
2478         {(uint32 )341, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,   2478         {(uint32 )341, (short)-2, (short)-1, (TIFFDataType )0, (uint32 )0,
2479       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)34,   2479       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)34,
2480       (unsigned char)1, (unsigned char)0, (char *)"SMaxSampleValue",   2480       (unsigned char)1, (unsigned char)0, (char *)"SMaxSampleValue",
2481       (TIFFFieldArray *)((void *)0)},   2481       (TIFFFieldArray *)((void *)0)},
2482         {(uint32 )343, (short)-1, (short)-3, (TIFFDataType )1, (uint32 )0,   2482         {(uint32 )343, (short)-1, (short)-3, (TIFFDataType )1, (uint32 )0,
2483       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2483       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2484       (unsigned char)0, (unsigned char)1, (char *)"ClipPath",   2484       (unsigned char)0, (unsigned char)1, (char *)"ClipPath",
2485       (TIFFFieldArray *)((void *)0)},   2485       (TIFFFieldArray *)((void *)0)},
2486         {(uint32 )344, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,   2486         {(uint32 )344, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,
2487       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2487       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2488       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",   2488       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",
2489       (TIFFFieldArray *)((void *)0)},   2489       (TIFFFieldArray *)((void *)0)},
2490         {(uint32 )344, (short)1, (short)1, (TIFFDataType )6, (uint32 )0,   2490         {(uint32 )344, (short)1, (short)1, (TIFFDataType )6, (uint32 )0,
2491       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2491       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2492       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",   2492       (unsigned char)0, (unsigned char)0, (char *)"XClipPathUnits",
2493       (TIFFFieldArray *)((void *)0)},   2493       (TIFFFieldArray *)((void *)0)},
2494         {(uint32 )345, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,   2494         {(uint32 )345, (short)1, (short)1, (TIFFDataType )9, (uint32 )0,
2495       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2495       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2496       (unsigned char)0, (unsigned char)0, (char *)"YClipPathUnits",   2496       (unsigned char)0, (unsigned char)0, (char *)"YClipPathUnits",
2497       (TIFFFieldArray *)((void *)0)},   2497       (TIFFFieldArray *)((void *)0)},
2498         {(uint32 )529, (short)3, (short)3, (TIFFDataType )5, (uint32 )0,   2498         {(uint32 )529, (short)3, (short)3, (TIFFDataType )5, (uint32 )0,
2499       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2499       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2500       (unsigned char)0, (unsigned char)0, (char *)"YCbCrCoefficients",   2500       (unsigned char)0, (unsigned char)0, (char *)"YCbCrCoefficients",
2501       (TIFFFieldArray *)((void *)0)},   2501       (TIFFFieldArray *)((void *)0)},
2502         {(uint32 )530, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2502         {(uint32 )530, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2503       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)39,   2503       (TIFFSetGetFieldType )14, (TIFFSetGetFieldType )0, (unsigned short)39,
2504       (unsigned char)0, (unsigned char)0, (char *)"YCbCrSubsampling",   2504       (unsigned char)0, (unsigned char)0, (char *)"YCbCrSubsampling",
2505       (TIFFFieldArray *)((void *)0)},   2505       (TIFFFieldArray *)((void *)0)},
2506         {(uint32 )531, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2506         {(uint32 )531, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2507       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)40,   2507       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)40,
2508       (unsigned char)0, (unsigned char)0, (char *)"YCbCrPositioning",   2508       (unsigned char)0, (unsigned char)0, (char *)"YCbCrPositioning",
2509       (TIFFFieldArray *)((void *)0)},   2509       (TIFFFieldArray *)((void *)0)},
2510         {(uint32 )532, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,   2510         {(uint32 )532, (short)6, (short)6, (TIFFDataType )5, (uint32 )0,
2511       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2511       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2512       (unsigned char)1, (unsigned char)0, (char *)"ReferenceBlackWhite",   2512       (unsigned char)1, (unsigned char)0, (char *)"ReferenceBlackWhite",
2513       (TIFFFieldArray *)((void *)0)},   2513       (TIFFFieldArray *)((void *)0)},
2514         {(uint32 )700, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,   2514         {(uint32 )700, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,
2515       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,   2515       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,
2516       (unsigned char)0, (unsigned char)1, (char *)"XMLPacket",   2516       (unsigned char)0, (unsigned char)1, (char *)"XMLPacket",
2517       (TIFFFieldArray *)((void *)0)},   2517       (TIFFFieldArray *)((void *)0)},
2518         {(uint32 )32995, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2518         {(uint32 )32995, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2519       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)31,   2519       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)31,
2520       (unsigned char)0, (unsigned char)0, (char *)"Matteing",   2520       (unsigned char)0, (unsigned char)0, (char *)"Matteing",
2521       (TIFFFieldArray *)((void *)0)},   2521       (TIFFFieldArray *)((void *)0)},
2522         {(uint32 )32996, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,   2522         {(uint32 )32996, (short)-2, (short)-1, (TIFFDataType )3, (uint32 )0,
2523       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,   2523       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)32,
2524       (unsigned char)0, (unsigned char)0, (char *)"DataType",   2524       (unsigned char)0, (unsigned char)0, (char *)"DataType",
2525       (TIFFFieldArray *)((void *)0)},   2525       (TIFFFieldArray *)((void *)0)},
2526         {(uint32 )32997, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2526         {(uint32 )32997, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2527       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)35,   2527       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)35,
2528       (unsigned char)0, (unsigned char)0, (char *)"ImageDepth",   2528       (unsigned char)0, (unsigned char)0, (char *)"ImageDepth",
2529       (TIFFFieldArray *)((void *)0)},   2529       (TIFFFieldArray *)((void *)0)},
2530         {(uint32 )32998, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2530         {(uint32 )32998, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2531       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)36,   2531       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)36,
2532       (unsigned char)0, (unsigned char)0, (char *)"TileDepth",   2532       (unsigned char)0, (unsigned char)0, (char *)"TileDepth",
2533       (TIFFFieldArray *)((void *)0)},   2533       (TIFFFieldArray *)((void *)0)},
2534         {(uint32 )33300, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2534         {(uint32 )33300, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2535       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2535       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2536       (unsigned char)1, (unsigned char)0, (char *)"ImageFullWidth",   2536       (unsigned char)1, (unsigned char)0, (char *)"ImageFullWidth",
2537       (TIFFFieldArray *)((void *)0)},   2537       (TIFFFieldArray *)((void *)0)},
2538         {(uint32 )33301, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2538         {(uint32 )33301, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2539       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2539       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2540       (unsigned char)1, (unsigned char)0, (char *)"ImageFullLength",   2540       (unsigned char)1, (unsigned char)0, (char *)"ImageFullLength",
2541       (TIFFFieldArray *)((void *)0)},   2541       (TIFFFieldArray *)((void *)0)},
2542         {(uint32 )33302, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2542         {(uint32 )33302, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2543       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2543       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2544       (unsigned char)1, (unsigned char)0, (char *)"TextureFormat",   2544       (unsigned char)1, (unsigned char)0, (char *)"TextureFormat",
2545       (TIFFFieldArray *)((void *)0)},   2545       (TIFFFieldArray *)((void *)0)},
2546         {(uint32 )33303, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2546         {(uint32 )33303, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2547       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2547       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2548       (unsigned char)1, (unsigned char)0, (char *)"TextureWrapModes",   2548       (unsigned char)1, (unsigned char)0, (char *)"TextureWrapModes",
2549       (TIFFFieldArray *)((void *)0)},   2549       (TIFFFieldArray *)((void *)0)},
2550         {(uint32 )33304, (short)1, (short)1, (TIFFDataType )11, (uint32 )0,   2550         {(uint32 )33304, (short)1, (short)1, (TIFFDataType )11, (uint32 )0,
2551       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2551       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2552       (unsigned char)1, (unsigned char)0, (char *)"FieldOfViewCotangent",   2552       (unsigned char)1, (unsigned char)0, (char *)"FieldOfViewCotangent",
2553       (TIFFFieldArray *)((void *)0)},   2553       (TIFFFieldArray *)((void *)0)},
2554         {(uint32 )33305, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,   2554         {(uint32 )33305, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,
2555       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2555       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2556       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToScreen",   2556       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToScreen",
2557       (TIFFFieldArray *)((void *)0)},   2557       (TIFFFieldArray *)((void *)0)},
2558         {(uint32 )33306, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,   2558         {(uint32 )33306, (short)16, (short)16, (TIFFDataType )11, (uint32 )0,
2559       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2559       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2560       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToCamera",   2560       (unsigned char)1, (unsigned char)0, (char *)"MatrixWorldToCamera",
2561       (TIFFFieldArray *)((void *)0)},   2561       (TIFFFieldArray *)((void *)0)},
2562         {(uint32 )33432, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2562         {(uint32 )33432, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2563       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2563       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2564       (unsigned char)1, (unsigned char)0, (char *)"Copyright",   2564       (unsigned char)1, (unsigned char)0, (char *)"Copyright",
2565       (TIFFFieldArray *)((void *)0)},   2565       (TIFFFieldArray *)((void *)0)},
2566         {(uint32 )33723, (short)-3, (short)-3, (TIFFDataType )4, (uint32 )0,   2566         {(uint32 )33723, (short)-3, (short)-3, (TIFFDataType )4, (uint32 )0,
2567       (TIFFSetGetFieldType )44, (TIFFSetGetFieldType )0, (unsigned short)65,   2567       (TIFFSetGetFieldType )44, (TIFFSetGetFieldType )0, (unsigned short)65,
2568       (unsigned char)0, (unsigned char)1, (char *)"RichTIFFIPTC",   2568       (unsigned char)0, (unsigned char)1, (char *)"RichTIFFIPTC",
2569       (TIFFFieldArray *)((void *)0)},   2569       (TIFFFieldArray *)((void *)0)},
2570         {(uint32 )34377, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,   2570         {(uint32 )34377, (short)-3, (short)-3, (TIFFDataType )1, (uint32 )0,
2571       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,   2571       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,
2572       (unsigned char)0, (unsigned char)1, (char *)"Photoshop",   2572       (unsigned char)0, (unsigned char)1, (char *)"Photoshop",
2573       (TIFFFieldArray *)((void *)0)},   2573       (TIFFFieldArray *)((void *)0)},
2574         {(uint32 )34665, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,   2574         {(uint32 )34665, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,
2575       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,   2575       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,
2576       (unsigned char)0, (unsigned char)0, (char *)"EXIFIFDOffset",   2576       (unsigned char)0, (unsigned char)0, (char *)"EXIFIFDOffset",
2577       (TIFFFieldArray *)(& exifFieldArray)},   2577       (TIFFFieldArray *)(& exifFieldArray)},
2578         {(uint32 )34675, (short)-3, (short)-3, (TIFFDataType )7, (uint32 )0,   2578         {(uint32 )34675, (short)-3, (short)-3, (TIFFDataType )7, (uint32 )0,
2579       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,   2579       (TIFFSetGetFieldType )40, (TIFFSetGetFieldType )0, (unsigned short)65,
2580       (unsigned char)0, (unsigned char)1, (char *)"ICC Profile",   2580       (unsigned char)0, (unsigned char)1, (char *)"ICC Profile",
2581       (TIFFFieldArray *)((void *)0)},   2581       (TIFFFieldArray *)((void *)0)},
2582         {(uint32 )34853, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,   2582         {(uint32 )34853, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,
2583       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,   2583       (TIFFSetGetFieldType )12, (TIFFSetGetFieldType )0, (unsigned short)65,
2584       (unsigned char)0, (unsigned char)0, (char *)"GPSIFDOffset",   2584       (unsigned char)0, (unsigned char)0, (char *)"GPSIFDOffset",
2585       (TIFFFieldArray *)((void *)0)},   2585       (TIFFFieldArray *)((void *)0)},
2586         {(uint32 )34908, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2586         {(uint32 )34908, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2587       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,   2587       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,
2588       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvParams",   2588       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvParams",
2589       (TIFFFieldArray *)((void *)0)},   2589       (TIFFFieldArray *)((void *)0)},
2590         {(uint32 )34909, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2590         {(uint32 )34909, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2591       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,   2591       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,
2592       (unsigned char)1, (unsigned char)0, (char *)"FaxSubAddress",   2592       (unsigned char)1, (unsigned char)0, (char *)"FaxSubAddress",
2593       (TIFFFieldArray *)((void *)0)},   2593       (TIFFFieldArray *)((void *)0)},
2594         {(uint32 )34910, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2594         {(uint32 )34910, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2595       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,   2595       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )6, (unsigned short)65,
2596       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvTime",   2596       (unsigned char)1, (unsigned char)0, (char *)"FaxRecvTime",
2597       (TIFFFieldArray *)((void *)0)},   2597       (TIFFFieldArray *)((void *)0)},
2598         {(uint32 )34911, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2598         {(uint32 )34911, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2599       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,   2599       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )1, (unsigned short)65,
2600       (unsigned char)1, (unsigned char)0, (char *)"FaxDcs",   2600       (unsigned char)1, (unsigned char)0, (char *)"FaxDcs",
2601       (TIFFFieldArray *)((void *)0)},   2601       (TIFFFieldArray *)((void *)0)},
2602         {(uint32 )37439, (short)1, (short)1, (TIFFDataType )12, (uint32 )0,   2602         {(uint32 )37439, (short)1, (short)1, (TIFFDataType )12, (uint32 )0,
2603       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2603       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2604       (unsigned char)0, (unsigned char)0, (char *)"StoNits",   2604       (unsigned char)0, (unsigned char)0, (char *)"StoNits",
2605       (TIFFFieldArray *)((void *)0)},   2605       (TIFFFieldArray *)((void *)0)},
2606         {(uint32 )40965, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,   2606         {(uint32 )40965, (short)1, (short)1, (TIFFDataType )18, (uint32 )0,
2607       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,   2607       (TIFFSetGetFieldType )0, (TIFFSetGetFieldType )0, (unsigned short)65,
2608       (unsigned char)0, (unsigned char)0, (char *)"InteroperabilityIFDOffset",   2608       (unsigned char)0, (unsigned char)0, (char *)"InteroperabilityIFDOffset",
2609       (TIFFFieldArray *)((void *)0)},   2609       (TIFFFieldArray *)((void *)0)},
2610         {(uint32 )50706, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,   2610         {(uint32 )50706, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,
2611       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2611       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2612       (unsigned char)0, (unsigned char)0, (char *)"DNGVersion",   2612       (unsigned char)0, (unsigned char)0, (char *)"DNGVersion",
2613       (TIFFFieldArray *)((void *)0)},   2613       (TIFFFieldArray *)((void *)0)},
2614         {(uint32 )50707, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,   2614         {(uint32 )50707, (short)4, (short)4, (TIFFDataType )1, (uint32 )0,
2615       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2615       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2616       (unsigned char)0, (unsigned char)0, (char *)"DNGBackwardVersion",   2616       (unsigned char)0, (unsigned char)0, (char *)"DNGBackwardVersion",
2617       (TIFFFieldArray *)((void *)0)},   2617       (TIFFFieldArray *)((void *)0)},
2618         {(uint32 )50708, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2618         {(uint32 )50708, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2619       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2619       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2620       (unsigned char)1, (unsigned char)0, (char *)"UniqueCameraModel",   2620       (unsigned char)1, (unsigned char)0, (char *)"UniqueCameraModel",
2621       (TIFFFieldArray *)((void *)0)},   2621       (TIFFFieldArray *)((void *)0)},
2622         {(uint32 )50709, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2622         {(uint32 )50709, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2623       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2623       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2624       (unsigned char)1, (unsigned char)1, (char *)"LocalizedCameraModel",   2624       (unsigned char)1, (unsigned char)1, (char *)"LocalizedCameraModel",
2625       (TIFFFieldArray *)((void *)0)},   2625       (TIFFFieldArray *)((void *)0)},
2626         {(uint32 )50710, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2626         {(uint32 )50710, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2627       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2627       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2628       (unsigned char)0, (unsigned char)1, (char *)"CFAPlaneColor",   2628       (unsigned char)0, (unsigned char)1, (char *)"CFAPlaneColor",
2629       (TIFFFieldArray *)((void *)0)},   2629       (TIFFFieldArray *)((void *)0)},
2630         {(uint32 )50711, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2630         {(uint32 )50711, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2631       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2631       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2632       (unsigned char)0, (unsigned char)0, (char *)"CFALayout",   2632       (unsigned char)0, (unsigned char)0, (char *)"CFALayout",
2633       (TIFFFieldArray *)((void *)0)},   2633       (TIFFFieldArray *)((void *)0)},
2634         {(uint32 )50712, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2634         {(uint32 )50712, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2635       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,   2635       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,
2636       (unsigned char)0, (unsigned char)1, (char *)"LinearizationTable",   2636       (unsigned char)0, (unsigned char)1, (char *)"LinearizationTable",
2637       (TIFFFieldArray *)((void *)0)},   2637       (TIFFFieldArray *)((void *)0)},
2638         {(uint32 )50713, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2638         {(uint32 )50713, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2639       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,   2639       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,
2640       (unsigned char)0, (unsigned char)0, (char *)"BlackLevelRepeatDim",   2640       (unsigned char)0, (unsigned char)0, (char *)"BlackLevelRepeatDim",
2641       (TIFFFieldArray *)((void *)0)},   2641       (TIFFFieldArray *)((void *)0)},
2642         {(uint32 )50714, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,   2642         {(uint32 )50714, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,
2643       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2643       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2644       (unsigned char)0, (unsigned char)1, (char *)"BlackLevel",   2644       (unsigned char)0, (unsigned char)1, (char *)"BlackLevel",
2645       (TIFFFieldArray *)((void *)0)},   2645       (TIFFFieldArray *)((void *)0)},
2646         {(uint32 )50715, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2646         {(uint32 )50715, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2647       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2647       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2648       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaH",   2648       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaH",
2649       (TIFFFieldArray *)((void *)0)},   2649       (TIFFFieldArray *)((void *)0)},
2650         {(uint32 )50716, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2650         {(uint32 )50716, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2651       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2651       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2652       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaV",   2652       (unsigned char)0, (unsigned char)1, (char *)"BlackLevelDeltaV",
2653       (TIFFFieldArray *)((void *)0)},   2653       (TIFFFieldArray *)((void *)0)},
2654         {(uint32 )50717, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,   2654         {(uint32 )50717, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,
2655       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,   2655       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,
2656       (unsigned char)0, (unsigned char)1, (char *)"WhiteLevel",   2656       (unsigned char)0, (unsigned char)1, (char *)"WhiteLevel",
2657       (TIFFFieldArray *)((void *)0)},   2657       (TIFFFieldArray *)((void *)0)},
2658         {(uint32 )50718, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2658         {(uint32 )50718, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2659       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2659       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2660       (unsigned char)0, (unsigned char)0, (char *)"DefaultScale",   2660       (unsigned char)0, (unsigned char)0, (char *)"DefaultScale",
2661       (TIFFFieldArray *)((void *)0)},   2661       (TIFFFieldArray *)((void *)0)},
2662         {(uint32 )50780, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2662         {(uint32 )50780, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2663       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2663       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2664       (unsigned char)0, (unsigned char)0, (char *)"BestQualityScale",   2664       (unsigned char)0, (unsigned char)0, (char *)"BestQualityScale",
2665       (TIFFFieldArray *)((void *)0)},   2665       (TIFFFieldArray *)((void *)0)},
2666         {(uint32 )50719, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2666         {(uint32 )50719, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2667       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2667       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2668       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropOrigin",   2668       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropOrigin",
2669       (TIFFFieldArray *)((void *)0)},   2669       (TIFFFieldArray *)((void *)0)},
2670         {(uint32 )50720, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2670         {(uint32 )50720, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2671       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2671       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2672       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropSize",   2672       (unsigned char)0, (unsigned char)0, (char *)"DefaultCropSize",
2673       (TIFFFieldArray *)((void *)0)},   2673       (TIFFFieldArray *)((void *)0)},
2674         {(uint32 )50721, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2674         {(uint32 )50721, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2675       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2675       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2676       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix1",   2676       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix1",
2677       (TIFFFieldArray *)((void *)0)},   2677       (TIFFFieldArray *)((void *)0)},
2678         {(uint32 )50722, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2678         {(uint32 )50722, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2679       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2679       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2680       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix2",   2680       (unsigned char)0, (unsigned char)1, (char *)"ColorMatrix2",
2681       (TIFFFieldArray *)((void *)0)},   2681       (TIFFFieldArray *)((void *)0)},
2682         {(uint32 )50723, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2682         {(uint32 )50723, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2683       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2683       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2684       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration1",   2684       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration1",
2685       (TIFFFieldArray *)((void *)0)},   2685       (TIFFFieldArray *)((void *)0)},
2686         {(uint32 )50724, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2686         {(uint32 )50724, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2687       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2687       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2688       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration2",   2688       (unsigned char)0, (unsigned char)1, (char *)"CameraCalibration2",
2689       (TIFFFieldArray *)((void *)0)},   2689       (TIFFFieldArray *)((void *)0)},
2690         {(uint32 )50725, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2690         {(uint32 )50725, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2691       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2691       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2692       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix1",   2692       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix1",
2693       (TIFFFieldArray *)((void *)0)},   2693       (TIFFFieldArray *)((void *)0)},
2694         {(uint32 )50726, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2694         {(uint32 )50726, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2695       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2695       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2696       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix2",   2696       (unsigned char)0, (unsigned char)1, (char *)"ReductionMatrix2",
2697       (TIFFFieldArray *)((void *)0)},   2697       (TIFFFieldArray *)((void *)0)},
2698         {(uint32 )50727, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,   2698         {(uint32 )50727, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,
2699       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2699       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2700       (unsigned char)0, (unsigned char)1, (char *)"AnalogBalance",   2700       (unsigned char)0, (unsigned char)1, (char *)"AnalogBalance",
2701       (TIFFFieldArray *)((void *)0)},   2701       (TIFFFieldArray *)((void *)0)},
2702         {(uint32 )50728, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,   2702         {(uint32 )50728, (short)-1, (short)-1, (TIFFDataType )5, (uint32 )0,
2703       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2703       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2704       (unsigned char)0, (unsigned char)1, (char *)"AsShotNeutral",   2704       (unsigned char)0, (unsigned char)1, (char *)"AsShotNeutral",
2705       (TIFFFieldArray *)((void *)0)},   2705       (TIFFFieldArray *)((void *)0)},
2706         {(uint32 )50729, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,   2706         {(uint32 )50729, (short)2, (short)2, (TIFFDataType )5, (uint32 )0,
2707       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2707       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2708       (unsigned char)0, (unsigned char)0, (char *)"AsShotWhiteXY",   2708       (unsigned char)0, (unsigned char)0, (char *)"AsShotWhiteXY",
2709       (TIFFFieldArray *)((void *)0)},   2709       (TIFFFieldArray *)((void *)0)},
2710         {(uint32 )50730, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2710         {(uint32 )50730, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2711       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2711       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2712       (unsigned char)0, (unsigned char)0, (char *)"BaselineExposure",   2712       (unsigned char)0, (unsigned char)0, (char *)"BaselineExposure",
2713       (TIFFFieldArray *)((void *)0)},   2713       (TIFFFieldArray *)((void *)0)},
2714         {(uint32 )50731, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2714         {(uint32 )50731, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2715       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2715       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2716       (unsigned char)0, (unsigned char)0, (char *)"BaselineNoise",   2716       (unsigned char)0, (unsigned char)0, (char *)"BaselineNoise",
2717       (TIFFFieldArray *)((void *)0)},   2717       (TIFFFieldArray *)((void *)0)},
2718         {(uint32 )50732, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2718         {(uint32 )50732, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2719       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2719       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2720       (unsigned char)0, (unsigned char)0, (char *)"BaselineSharpness",   2720       (unsigned char)0, (unsigned char)0, (char *)"BaselineSharpness",
2721       (TIFFFieldArray *)((void *)0)},   2721       (TIFFFieldArray *)((void *)0)},
2722         {(uint32 )50733, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2722         {(uint32 )50733, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2723       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,   2723       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,
2724       (unsigned char)0, (unsigned char)0, (char *)"BayerGreenSplit",   2724       (unsigned char)0, (unsigned char)0, (char *)"BayerGreenSplit",
2725       (TIFFFieldArray *)((void *)0)},   2725       (TIFFFieldArray *)((void *)0)},
2726         {(uint32 )50734, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2726         {(uint32 )50734, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2727       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2727       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2728       (unsigned char)0, (unsigned char)0, (char *)"LinearResponseLimit",   2728       (unsigned char)0, (unsigned char)0, (char *)"LinearResponseLimit",
2729       (TIFFFieldArray *)((void *)0)},   2729       (TIFFFieldArray *)((void *)0)},
2730         {(uint32 )50735, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2730         {(uint32 )50735, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2731       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2731       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2732       (unsigned char)1, (unsigned char)0, (char *)"CameraSerialNumber",   2732       (unsigned char)1, (unsigned char)0, (char *)"CameraSerialNumber",
2733       (TIFFFieldArray *)((void *)0)},   2733       (TIFFFieldArray *)((void *)0)},
2734         {(uint32 )50736, (short)4, (short)4, (TIFFDataType )5, (uint32 )0,   2734         {(uint32 )50736, (short)4, (short)4, (TIFFDataType )5, (uint32 )0,
2735       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,   2735       (TIFFSetGetFieldType )24, (TIFFSetGetFieldType )0, (unsigned short)65,
2736       (unsigned char)0, (unsigned char)0, (char *)"LensInfo",   2736       (unsigned char)0, (unsigned char)0, (char *)"LensInfo",
2737       (TIFFFieldArray *)((void *)0)},   2737       (TIFFFieldArray *)((void *)0)},
2738         {(uint32 )50737, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2738         {(uint32 )50737, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2739       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2739       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2740       (unsigned char)0, (unsigned char)0, (char *)"ChromaBlurRadius",   2740       (unsigned char)0, (unsigned char)0, (char *)"ChromaBlurRadius",
2741       (TIFFFieldArray *)((void *)0)},   2741       (TIFFFieldArray *)((void *)0)},
2742         {(uint32 )50738, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2742         {(uint32 )50738, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2743       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2743       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2744       (unsigned char)0, (unsigned char)0, (char *)"AntiAliasStrength",   2744       (unsigned char)0, (unsigned char)0, (char *)"AntiAliasStrength",
2745       (TIFFFieldArray *)((void *)0)},   2745       (TIFFFieldArray *)((void *)0)},
2746         {(uint32 )50739, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2746         {(uint32 )50739, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2747       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2747       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2748       (unsigned char)0, (unsigned char)0, (char *)"ShadowScale",   2748       (unsigned char)0, (unsigned char)0, (char *)"ShadowScale",
2749       (TIFFFieldArray *)((void *)0)},   2749       (TIFFFieldArray *)((void *)0)},
2750         {(uint32 )50740, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2750         {(uint32 )50740, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2751       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2751       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2752       (unsigned char)0, (unsigned char)1, (char *)"DNGPrivateData",   2752       (unsigned char)0, (unsigned char)1, (char *)"DNGPrivateData",
2753       (TIFFFieldArray *)((void *)0)},   2753       (TIFFFieldArray *)((void *)0)},
2754         {(uint32 )50741, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2754         {(uint32 )50741, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2755       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2755       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2756       (unsigned char)0, (unsigned char)0, (char *)"MakerNoteSafety",   2756       (unsigned char)0, (unsigned char)0, (char *)"MakerNoteSafety",
2757       (TIFFFieldArray *)((void *)0)},   2757       (TIFFFieldArray *)((void *)0)},
2758         {(uint32 )50778, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2758         {(uint32 )50778, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2759       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2759       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2760       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant1",   2760       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant1",
2761       (TIFFFieldArray *)((void *)0)},   2761       (TIFFFieldArray *)((void *)0)},
2762         {(uint32 )50779, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2762         {(uint32 )50779, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2763       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2763       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2764       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant2",   2764       (unsigned char)0, (unsigned char)0, (char *)"CalibrationIlluminant2",
2765       (TIFFFieldArray *)((void *)0)},   2765       (TIFFFieldArray *)((void *)0)},
2766         {(uint32 )50781, (short)16, (short)16, (TIFFDataType )1, (uint32 )0,   2766         {(uint32 )50781, (short)16, (short)16, (TIFFDataType )1, (uint32 )0,
2767       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2767       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2768       (unsigned char)0, (unsigned char)0, (char *)"RawDataUniqueID",   2768       (unsigned char)0, (unsigned char)0, (char *)"RawDataUniqueID",
2769       (TIFFFieldArray *)((void *)0)},   2769       (TIFFFieldArray *)((void *)0)},
2770         {(uint32 )50827, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,   2770         {(uint32 )50827, (short)-1, (short)-1, (TIFFDataType )1, (uint32 )0,
2771       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2771       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2772       (unsigned char)1, (unsigned char)1, (char *)"OriginalRawFileName",   2772       (unsigned char)1, (unsigned char)1, (char *)"OriginalRawFileName",
2773       (TIFFFieldArray *)((void *)0)},   2773       (TIFFFieldArray *)((void *)0)},
2774         {(uint32 )50828, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2774         {(uint32 )50828, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2775       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2775       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2776       (unsigned char)0, (unsigned char)1, (char *)"OriginalRawFileData",   2776       (unsigned char)0, (unsigned char)1, (char *)"OriginalRawFileData",
2777       (TIFFFieldArray *)((void *)0)},   2777       (TIFFFieldArray *)((void *)0)},
2778         {(uint32 )50829, (short)4, (short)4, (TIFFDataType )4, (uint32 )0,   2778         {(uint32 )50829, (short)4, (short)4, (TIFFDataType )4, (uint32 )0,
2779       (TIFFSetGetFieldType )20, (TIFFSetGetFieldType )0, (unsigned short)65,   2779       (TIFFSetGetFieldType )20, (TIFFSetGetFieldType )0, (unsigned short)65,
2780       (unsigned char)0, (unsigned char)0, (char *)"ActiveArea",   2780       (unsigned char)0, (unsigned char)0, (char *)"ActiveArea",
2781       (TIFFFieldArray *)((void *)0)},   2781       (TIFFFieldArray *)((void *)0)},
2782         {(uint32 )50830, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,   2782         {(uint32 )50830, (short)-1, (short)-1, (TIFFDataType )4, (uint32 )0,
2783       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,   2783       (TIFFSetGetFieldType )32, (TIFFSetGetFieldType )0, (unsigned short)65,
2784       (unsigned char)0, (unsigned char)1, (char *)"MaskedAreas",   2784       (unsigned char)0, (unsigned char)1, (char *)"MaskedAreas",
2785       (TIFFFieldArray *)((void *)0)},   2785       (TIFFFieldArray *)((void *)0)},
2786         {(uint32 )50831, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2786         {(uint32 )50831, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2787       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2787       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2788       (unsigned char)0, (unsigned char)1, (char *)"AsShotICCProfile",   2788       (unsigned char)0, (unsigned char)1, (char *)"AsShotICCProfile",
2789       (TIFFFieldArray *)((void *)0)},   2789       (TIFFFieldArray *)((void *)0)},
2790         {(uint32 )50832, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2790         {(uint32 )50832, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2791       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2791       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2792       (unsigned char)0, (unsigned char)1, (char *)"AsShotPreProfileMatrix",   2792       (unsigned char)0, (unsigned char)1, (char *)"AsShotPreProfileMatrix",
2793       (TIFFFieldArray *)((void *)0)},   2793       (TIFFFieldArray *)((void *)0)},
2794         {(uint32 )50833, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2794         {(uint32 )50833, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2795       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2795       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2796       (unsigned char)0, (unsigned char)1, (char *)"CurrentICCProfile",   2796       (unsigned char)0, (unsigned char)1, (char *)"CurrentICCProfile",
2797       (TIFFFieldArray *)((void *)0)},   2797       (TIFFFieldArray *)((void *)0)},
2798         {(uint32 )50834, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,   2798         {(uint32 )50834, (short)-1, (short)-1, (TIFFDataType )10, (uint32 )0,
2799       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,   2799       (TIFFSetGetFieldType )36, (TIFFSetGetFieldType )0, (unsigned short)65,
2800       (unsigned char)0, (unsigned char)1, (char *)"CurrentPreProfileMatrix",   2800       (unsigned char)0, (unsigned char)1, (char *)"CurrentPreProfileMatrix",
2801       (TIFFFieldArray *)((void *)0)}};   2801       (TIFFFieldArray *)((void *)0)}};
2802 static TIFFField const   exifFields[56]  =   2802 static TIFFField const   exifFields[56]  =
2803   {      {(uint32 )33434, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2803   {      {(uint32 )33434, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2804       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2804       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2805       (unsigned char)1, (unsigned char)0, (char *)"ExposureTime",   2805       (unsigned char)1, (unsigned char)0, (char *)"ExposureTime",
2806       (TIFFFieldArray *)((void *)0)},   2806       (TIFFFieldArray *)((void *)0)},
2807         {(uint32 )33437, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2807         {(uint32 )33437, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2808       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2808       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2809       (unsigned char)1, (unsigned char)0, (char *)"FNumber",   2809       (unsigned char)1, (unsigned char)0, (char *)"FNumber",
2810       (TIFFFieldArray *)((void *)0)},   2810       (TIFFFieldArray *)((void *)0)},
2811         {(uint32 )34850, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2811         {(uint32 )34850, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2812       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2812       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2813       (unsigned char)1, (unsigned char)0, (char *)"ExposureProgram",   2813       (unsigned char)1, (unsigned char)0, (char *)"ExposureProgram",
2814       (TIFFFieldArray *)((void *)0)},   2814       (TIFFFieldArray *)((void *)0)},
2815         {(uint32 )34852, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2815         {(uint32 )34852, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2816       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2816       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2817       (unsigned char)1, (unsigned char)0, (char *)"SpectralSensitivity",   2817       (unsigned char)1, (unsigned char)0, (char *)"SpectralSensitivity",
2818       (TIFFFieldArray *)((void *)0)},   2818       (TIFFFieldArray *)((void *)0)},
2819         {(uint32 )34855, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2819         {(uint32 )34855, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2820       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,   2820       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,
2821       (unsigned char)1, (unsigned char)1, (char *)"ISOSpeedRatings",   2821       (unsigned char)1, (unsigned char)1, (char *)"ISOSpeedRatings",
2822       (TIFFFieldArray *)((void *)0)},   2822       (TIFFFieldArray *)((void *)0)},
2823         {(uint32 )34856, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2823         {(uint32 )34856, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2824       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2824       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2825       (unsigned char)1, (unsigned char)1,   2825       (unsigned char)1, (unsigned char)1,
2826       (char *)"OptoelectricConversionFactor", (TIFFFieldArray *)((void *)0)},   2826       (char *)"OptoelectricConversionFactor", (TIFFFieldArray *)((void *)0)},
2827         {(uint32 )36864, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,   2827         {(uint32 )36864, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,
2828       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2828       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2829       (unsigned char)1, (unsigned char)0, (char *)"ExifVersion",   2829       (unsigned char)1, (unsigned char)0, (char *)"ExifVersion",
2830       (TIFFFieldArray *)((void *)0)},   2830       (TIFFFieldArray *)((void *)0)},
2831         {(uint32 )36867, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,   2831         {(uint32 )36867, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,
2832       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2832       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2833       (unsigned char)1, (unsigned char)0, (char *)"DateTimeOriginal",   2833       (unsigned char)1, (unsigned char)0, (char *)"DateTimeOriginal",
2834       (TIFFFieldArray *)((void *)0)},   2834       (TIFFFieldArray *)((void *)0)},
2835         {(uint32 )36868, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,   2835         {(uint32 )36868, (short)20, (short)20, (TIFFDataType )2, (uint32 )0,
2836       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2836       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2837       (unsigned char)1, (unsigned char)0, (char *)"DateTimeDigitized",   2837       (unsigned char)1, (unsigned char)0, (char *)"DateTimeDigitized",
2838       (TIFFFieldArray *)((void *)0)},   2838       (TIFFFieldArray *)((void *)0)},
2839         {(uint32 )37121, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,   2839         {(uint32 )37121, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,
2840       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2840       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2841       (unsigned char)1, (unsigned char)0, (char *)"ComponentsConfiguration",   2841       (unsigned char)1, (unsigned char)0, (char *)"ComponentsConfiguration",
2842       (TIFFFieldArray *)((void *)0)},   2842       (TIFFFieldArray *)((void *)0)},
2843         {(uint32 )37122, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2843         {(uint32 )37122, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2844       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2844       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2845       (unsigned char)1, (unsigned char)0, (char *)"CompressedBitsPerPixel",   2845       (unsigned char)1, (unsigned char)0, (char *)"CompressedBitsPerPixel",
2846       (TIFFFieldArray *)((void *)0)},   2846       (TIFFFieldArray *)((void *)0)},
2847         {(uint32 )37377, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2847         {(uint32 )37377, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2848       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2848       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2849       (unsigned char)1, (unsigned char)0, (char *)"ShutterSpeedValue",   2849       (unsigned char)1, (unsigned char)0, (char *)"ShutterSpeedValue",
2850       (TIFFFieldArray *)((void *)0)},   2850       (TIFFFieldArray *)((void *)0)},
2851         {(uint32 )37378, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2851         {(uint32 )37378, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2852       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2852       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2853       (unsigned char)1, (unsigned char)0, (char *)"ApertureValue",   2853       (unsigned char)1, (unsigned char)0, (char *)"ApertureValue",
2854       (TIFFFieldArray *)((void *)0)},   2854       (TIFFFieldArray *)((void *)0)},
2855         {(uint32 )37379, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2855         {(uint32 )37379, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2856       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2856       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2857       (unsigned char)1, (unsigned char)0, (char *)"BrightnessValue",   2857       (unsigned char)1, (unsigned char)0, (char *)"BrightnessValue",
2858       (TIFFFieldArray *)((void *)0)},   2858       (TIFFFieldArray *)((void *)0)},
2859         {(uint32 )37380, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,   2859         {(uint32 )37380, (short)1, (short)1, (TIFFDataType )10, (uint32 )0,
2860       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2860       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2861       (unsigned char)1, (unsigned char)0, (char *)"ExposureBiasValue",   2861       (unsigned char)1, (unsigned char)0, (char *)"ExposureBiasValue",
2862       (TIFFFieldArray *)((void *)0)},   2862       (TIFFFieldArray *)((void *)0)},
2863         {(uint32 )37381, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2863         {(uint32 )37381, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2864       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2864       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2865       (unsigned char)1, (unsigned char)0, (char *)"MaxApertureValue",   2865       (unsigned char)1, (unsigned char)0, (char *)"MaxApertureValue",
2866       (TIFFFieldArray *)((void *)0)},   2866       (TIFFFieldArray *)((void *)0)},
2867         {(uint32 )37382, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2867         {(uint32 )37382, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2868       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2868       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2869       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistance",   2869       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistance",
2870       (TIFFFieldArray *)((void *)0)},   2870       (TIFFFieldArray *)((void *)0)},
2871         {(uint32 )37383, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2871         {(uint32 )37383, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2872       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2872       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2873       (unsigned char)1, (unsigned char)0, (char *)"MeteringMode",   2873       (unsigned char)1, (unsigned char)0, (char *)"MeteringMode",
2874       (TIFFFieldArray *)((void *)0)},   2874       (TIFFFieldArray *)((void *)0)},
2875         {(uint32 )37384, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2875         {(uint32 )37384, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2876       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2876       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2877       (unsigned char)1, (unsigned char)0, (char *)"LightSource",   2877       (unsigned char)1, (unsigned char)0, (char *)"LightSource",
2878       (TIFFFieldArray *)((void *)0)},   2878       (TIFFFieldArray *)((void *)0)},
2879         {(uint32 )37385, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2879         {(uint32 )37385, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2880       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2880       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2881       (unsigned char)1, (unsigned char)0, (char *)"Flash",   2881       (unsigned char)1, (unsigned char)0, (char *)"Flash",
2882       (TIFFFieldArray *)((void *)0)},   2882       (TIFFFieldArray *)((void *)0)},
2883         {(uint32 )37386, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2883         {(uint32 )37386, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2884       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2884       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2885       (unsigned char)1, (unsigned char)0, (char *)"FocalLength",   2885       (unsigned char)1, (unsigned char)0, (char *)"FocalLength",
2886       (TIFFFieldArray *)((void *)0)},   2886       (TIFFFieldArray *)((void *)0)},
2887         {(uint32 )37396, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,   2887         {(uint32 )37396, (short)-1, (short)-1, (TIFFDataType )3, (uint32 )0,
2888       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,   2888       (TIFFSetGetFieldType )30, (TIFFSetGetFieldType )0, (unsigned short)65,
2889       (unsigned char)1, (unsigned char)1, (char *)"SubjectArea",   2889       (unsigned char)1, (unsigned char)1, (char *)"SubjectArea",
2890       (TIFFFieldArray *)((void *)0)},   2890       (TIFFFieldArray *)((void *)0)},
2891         {(uint32 )37500, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2891         {(uint32 )37500, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2892       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2892       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2893       (unsigned char)1, (unsigned char)1, (char *)"MakerNote",   2893       (unsigned char)1, (unsigned char)1, (char *)"MakerNote",
2894       (TIFFFieldArray *)((void *)0)},   2894       (TIFFFieldArray *)((void *)0)},
2895         {(uint32 )37510, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2895         {(uint32 )37510, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2896       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2896       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2897       (unsigned char)1, (unsigned char)1, (char *)"UserComment",   2897       (unsigned char)1, (unsigned char)1, (char *)"UserComment",
2898       (TIFFFieldArray *)((void *)0)},   2898       (TIFFFieldArray *)((void *)0)},
2899         {(uint32 )37520, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2899         {(uint32 )37520, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2900       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2900       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2901       (unsigned char)1, (unsigned char)0, (char *)"SubSecTime",   2901       (unsigned char)1, (unsigned char)0, (char *)"SubSecTime",
2902       (TIFFFieldArray *)((void *)0)},   2902       (TIFFFieldArray *)((void *)0)},
2903         {(uint32 )37521, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2903         {(uint32 )37521, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2904       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2904       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2905       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeOriginal",   2905       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeOriginal",
2906       (TIFFFieldArray *)((void *)0)},   2906       (TIFFFieldArray *)((void *)0)},
2907         {(uint32 )37522, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,   2907         {(uint32 )37522, (short)-1, (short)-1, (TIFFDataType )2, (uint32 )0,
2908       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2908       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2909       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeDigitized",   2909       (unsigned char)1, (unsigned char)0, (char *)"SubSecTimeDigitized",
2910       (TIFFFieldArray *)((void *)0)},   2910       (TIFFFieldArray *)((void *)0)},
2911         {(uint32 )40960, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,   2911         {(uint32 )40960, (short)4, (short)4, (TIFFDataType )7, (uint32 )0,
2912       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,   2912       (TIFFSetGetFieldType )16, (TIFFSetGetFieldType )0, (unsigned short)65,
2913       (unsigned char)1, (unsigned char)0, (char *)"FlashpixVersion",   2913       (unsigned char)1, (unsigned char)0, (char *)"FlashpixVersion",
2914       (TIFFFieldArray *)((void *)0)},   2914       (TIFFFieldArray *)((void *)0)},
2915         {(uint32 )40961, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2915         {(uint32 )40961, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2916       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2916       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2917       (unsigned char)1, (unsigned char)0, (char *)"ColorSpace",   2917       (unsigned char)1, (unsigned char)0, (char *)"ColorSpace",
2918       (TIFFFieldArray *)((void *)0)},   2918       (TIFFFieldArray *)((void *)0)},
2919         {(uint32 )40962, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2919         {(uint32 )40962, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2920       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,   2920       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,
2921       (unsigned char)1, (unsigned char)0, (char *)"PixelXDimension",   2921       (unsigned char)1, (unsigned char)0, (char *)"PixelXDimension",
2922       (TIFFFieldArray *)((void *)0)},   2922       (TIFFFieldArray *)((void *)0)},
2923         {(uint32 )40963, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,   2923         {(uint32 )40963, (short)1, (short)1, (TIFFDataType )4, (uint32 )0,
2924       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,   2924       (TIFFSetGetFieldType )6, (TIFFSetGetFieldType )0, (unsigned short)65,
2925       (unsigned char)1, (unsigned char)0, (char *)"PixelYDimension",   2925       (unsigned char)1, (unsigned char)0, (char *)"PixelYDimension",
2926       (TIFFFieldArray *)((void *)0)},   2926       (TIFFFieldArray *)((void *)0)},
2927         {(uint32 )40964, (short)13, (short)13, (TIFFDataType )2, (uint32 )0,   2927         {(uint32 )40964, (short)13, (short)13, (TIFFDataType )2, (uint32 )0,
2928       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   2928       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
2929       (unsigned char)1, (unsigned char)0, (char *)"RelatedSoundFile",   2929       (unsigned char)1, (unsigned char)0, (char *)"RelatedSoundFile",
2930       (TIFFFieldArray *)((void *)0)},   2930       (TIFFFieldArray *)((void *)0)},
2931         {(uint32 )41483, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2931         {(uint32 )41483, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2932       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2932       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2933       (unsigned char)1, (unsigned char)0, (char *)"FlashEnergy",   2933       (unsigned char)1, (unsigned char)0, (char *)"FlashEnergy",
2934       (TIFFFieldArray *)((void *)0)},   2934       (TIFFFieldArray *)((void *)0)},
2935         {(uint32 )41484, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2935         {(uint32 )41484, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2936       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2936       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2937       (unsigned char)1, (unsigned char)1, (char *)"SpatialFrequencyResponse",   2937       (unsigned char)1, (unsigned char)1, (char *)"SpatialFrequencyResponse",
2938       (TIFFFieldArray *)((void *)0)},   2938       (TIFFFieldArray *)((void *)0)},
2939         {(uint32 )41486, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2939         {(uint32 )41486, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2940       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2940       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2941       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneXResolution",   2941       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneXResolution",
2942       (TIFFFieldArray *)((void *)0)},   2942       (TIFFFieldArray *)((void *)0)},
2943         {(uint32 )41487, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2943         {(uint32 )41487, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2944       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2944       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2945       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneYResolution",   2945       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneYResolution",
2946       (TIFFFieldArray *)((void *)0)},   2946       (TIFFFieldArray *)((void *)0)},
2947         {(uint32 )41488, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2947         {(uint32 )41488, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2948       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2948       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2949       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneResolutionUnit",   2949       (unsigned char)1, (unsigned char)0, (char *)"FocalPlaneResolutionUnit",
2950       (TIFFFieldArray *)((void *)0)},   2950       (TIFFFieldArray *)((void *)0)},
2951         {(uint32 )41492, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,   2951         {(uint32 )41492, (short)2, (short)2, (TIFFDataType )3, (uint32 )0,
2952       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,   2952       (TIFFSetGetFieldType )18, (TIFFSetGetFieldType )0, (unsigned short)65,
2953       (unsigned char)1, (unsigned char)0, (char *)"SubjectLocation",   2953       (unsigned char)1, (unsigned char)0, (char *)"SubjectLocation",
2954       (TIFFFieldArray *)((void *)0)},   2954       (TIFFFieldArray *)((void *)0)},
2955         {(uint32 )41493, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2955         {(uint32 )41493, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2956       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2956       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2957       (unsigned char)1, (unsigned char)0, (char *)"ExposureIndex",   2957       (unsigned char)1, (unsigned char)0, (char *)"ExposureIndex",
2958       (TIFFFieldArray *)((void *)0)},   2958       (TIFFFieldArray *)((void *)0)},
2959         {(uint32 )41495, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2959         {(uint32 )41495, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2960       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2960       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2961       (unsigned char)1, (unsigned char)0, (char *)"SensingMethod",   2961       (unsigned char)1, (unsigned char)0, (char *)"SensingMethod",
2962       (TIFFFieldArray *)((void *)0)},   2962       (TIFFFieldArray *)((void *)0)},
2963         {(uint32 )41728, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,   2963         {(uint32 )41728, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,
2964       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,   2964       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,
2965       (unsigned char)1, (unsigned char)0, (char *)"FileSource",   2965       (unsigned char)1, (unsigned char)0, (char *)"FileSource",
2966       (TIFFFieldArray *)((void *)0)},   2966       (TIFFFieldArray *)((void *)0)},
2967         {(uint32 )41729, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,   2967         {(uint32 )41729, (short)1, (short)1, (TIFFDataType )7, (uint32 )0,
2968       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,   2968       (TIFFSetGetFieldType )2, (TIFFSetGetFieldType )0, (unsigned short)65,
2969       (unsigned char)1, (unsigned char)0, (char *)"SceneType",   2969       (unsigned char)1, (unsigned char)0, (char *)"SceneType",
2970       (TIFFFieldArray *)((void *)0)},   2970       (TIFFFieldArray *)((void *)0)},
2971         {(uint32 )41730, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   2971         {(uint32 )41730, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
2972       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   2972       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
2973       (unsigned char)1, (unsigned char)1, (char *)"CFAPattern",   2973       (unsigned char)1, (unsigned char)1, (char *)"CFAPattern",
2974       (TIFFFieldArray *)((void *)0)},   2974       (TIFFFieldArray *)((void *)0)},
2975         {(uint32 )41985, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2975         {(uint32 )41985, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2976       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2976       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2977       (unsigned char)1, (unsigned char)0, (char *)"CustomRendered",   2977       (unsigned char)1, (unsigned char)0, (char *)"CustomRendered",
2978       (TIFFFieldArray *)((void *)0)},   2978       (TIFFFieldArray *)((void *)0)},
2979         {(uint32 )41986, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2979         {(uint32 )41986, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2980       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2980       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2981       (unsigned char)1, (unsigned char)0, (char *)"ExposureMode",   2981       (unsigned char)1, (unsigned char)0, (char *)"ExposureMode",
2982       (TIFFFieldArray *)((void *)0)},   2982       (TIFFFieldArray *)((void *)0)},
2983         {(uint32 )41987, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2983         {(uint32 )41987, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2984       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2984       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2985       (unsigned char)1, (unsigned char)0, (char *)"WhiteBalance",   2985       (unsigned char)1, (unsigned char)0, (char *)"WhiteBalance",
2986       (TIFFFieldArray *)((void *)0)},   2986       (TIFFFieldArray *)((void *)0)},
2987         {(uint32 )41988, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2987         {(uint32 )41988, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
2988       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   2988       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
2989       (unsigned char)1, (unsigned char)0, (char *)"DigitalZoomRatio",   2989       (unsigned char)1, (unsigned char)0, (char *)"DigitalZoomRatio",
2990       (TIFFFieldArray *)((void *)0)},   2990       (TIFFFieldArray *)((void *)0)},
2991         {(uint32 )41989, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2991         {(uint32 )41989, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2992       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2992       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2993       (unsigned char)1, (unsigned char)0, (char *)"FocalLengthIn35mmFilm",   2993       (unsigned char)1, (unsigned char)0, (char *)"FocalLengthIn35mmFilm",
2994       (TIFFFieldArray *)((void *)0)},   2994       (TIFFFieldArray *)((void *)0)},
2995         {(uint32 )41990, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   2995         {(uint32 )41990, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
2996       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   2996       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
2997       (unsigned char)1, (unsigned char)0, (char *)"SceneCaptureType",   2997       (unsigned char)1, (unsigned char)0, (char *)"SceneCaptureType",
2998       (TIFFFieldArray *)((void *)0)},   2998       (TIFFFieldArray *)((void *)0)},
2999         {(uint32 )41991, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,   2999         {(uint32 )41991, (short)1, (short)1, (TIFFDataType )5, (uint32 )0,
3000       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,   3000       (TIFFSetGetFieldType )11, (TIFFSetGetFieldType )0, (unsigned short)65,
3001       (unsigned char)1, (unsigned char)0, (char *)"GainControl",   3001       (unsigned char)1, (unsigned char)0, (char *)"GainControl",
3002       (TIFFFieldArray *)((void *)0)},   3002       (TIFFFieldArray *)((void *)0)},
3003         {(uint32 )41992, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3003         {(uint32 )41992, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3004       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3004       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3005       (unsigned char)1, (unsigned char)0, (char *)"Contrast",   3005       (unsigned char)1, (unsigned char)0, (char *)"Contrast",
3006       (TIFFFieldArray *)((void *)0)},   3006       (TIFFFieldArray *)((void *)0)},
3007         {(uint32 )41993, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3007         {(uint32 )41993, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3008       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3008       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3009       (unsigned char)1, (unsigned char)0, (char *)"Saturation",   3009       (unsigned char)1, (unsigned char)0, (char *)"Saturation",
3010       (TIFFFieldArray *)((void *)0)},   3010       (TIFFFieldArray *)((void *)0)},
3011         {(uint32 )41994, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3011         {(uint32 )41994, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3012       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3012       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3013       (unsigned char)1, (unsigned char)0, (char *)"Sharpness",   3013       (unsigned char)1, (unsigned char)0, (char *)"Sharpness",
3014       (TIFFFieldArray *)((void *)0)},   3014       (TIFFFieldArray *)((void *)0)},
3015         {(uint32 )41995, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,   3015         {(uint32 )41995, (short)-1, (short)-1, (TIFFDataType )7, (uint32 )0,
3016       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,   3016       (TIFFSetGetFieldType )28, (TIFFSetGetFieldType )0, (unsigned short)65,
3017       (unsigned char)1, (unsigned char)1, (char *)"DeviceSettingDescription",   3017       (unsigned char)1, (unsigned char)1, (char *)"DeviceSettingDescription",
3018       (TIFFFieldArray *)((void *)0)},   3018       (TIFFFieldArray *)((void *)0)},
3019         {(uint32 )41996, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,   3019         {(uint32 )41996, (short)1, (short)1, (TIFFDataType )3, (uint32 )0,
3020       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,   3020       (TIFFSetGetFieldType )4, (TIFFSetGetFieldType )0, (unsigned short)65,
3021       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistanceRange",   3021       (unsigned char)1, (unsigned char)0, (char *)"SubjectDistanceRange",
3022       (TIFFFieldArray *)((void *)0)},   3022       (TIFFFieldArray *)((void *)0)},
3023         {(uint32 )42016, (short)33, (short)33, (TIFFDataType )2, (uint32 )0,   3023         {(uint32 )42016, (short)33, (short)33, (TIFFDataType )2, (uint32 )0,
3024       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,   3024       (TIFFSetGetFieldType )1, (TIFFSetGetFieldType )0, (unsigned short)65,
3025       (unsigned char)1, (unsigned char)0, (char *)"ImageUniqueID",   3025       (unsigned char)1, (unsigned char)0, (char *)"ImageUniqueID",
3026       (TIFFFieldArray *)((void *)0)}};   3026       (TIFFFieldArray *)((void *)0)}};
3027 static struct _TIFFFieldArray  const  tiffFieldArray  =    {(TIFFFieldArrayType )0, (uint32 )0,   3027 static struct _TIFFFieldArray  const  tiffFieldArray  =    {(TIFFFieldArrayType )0, (uint32 )0,
3028     sizeof(tiffFields) / sizeof(tiffFields[0]), (TIFFField *)(tiffFields)};   3028     sizeof(tiffFields) / sizeof(tiffFields[0]), (TIFFField *)(tiffFields)};
3029 static struct _TIFFFieldArray  const  exifFieldArray  =    {(TIFFFieldArrayType )1, (uint32 )0,   3029 static struct _TIFFFieldArray  const  exifFieldArray  =    {(TIFFFieldArrayType )1, (uint32 )0,
3030     sizeof(exifFields) / sizeof(exifFields[0]), (TIFFField *)(exifFields)};   3030     sizeof(exifFields) / sizeof(exifFields[0]), (TIFFField *)(exifFields)};
3031 TIFFFieldArray const   *_TIFFGetFields(void)   3031 TIFFFieldArray const   *_TIFFGetFields(void)
3032 {   3032 {
3033     3033  
3034     3034  
3035   {   3035   {
3036   return (& tiffFieldArray);   3036   return (& tiffFieldArray);
3037 }   3037 }
3038 }   3038 }
3039 TIFFFieldArray const   *_TIFFGetExifFields(void)   3039 TIFFFieldArray const   *_TIFFGetExifFields(void)
3040 {   3040 {
3041     3041  
3042     3042  
3043   {   3043   {
3044   return (& exifFieldArray);   3044   return (& exifFieldArray);
3045 }   3045 }
3046 }   3046 }
3047 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray )   3047 void _TIFFSetupFields(TIFF *tif , TIFFFieldArray const   *fieldarray )
3048 {   3048 {
3049   uint32 i ;   3049   uint32 i ;
3050   TIFFField *fld ;   3050   TIFFField *fld ;
3051   size_t tmp ;   3051   size_t tmp ;
3052   size_t tmp___0 ;   3052   size_t tmp___0 ;
3053   size_t __s1_len ;   3053   size_t __s1_len ;
3054   size_t __s2_len ;   3054   size_t __s2_len ;
3055   int tmp___1 ;   3055   int tmp___1 ;
3056   int tmp___2 ;   3056   int tmp___2 ;
3057   int tmp___3 ;   3057   int tmp___3 ;
3058   unsigned char const   *__s2 ;   3058   unsigned char const   *__s2 ;
3059   register int __result ;   3059   register int __result ;
3060   int tmp___4 ;   3060   int tmp___4 ;
3061   unsigned char const   *__s1 ;   3061   unsigned char const   *__s1 ;
3062   register int __result___0 ;   3062   register int __result___0 ;
3063   int tmp___5 ;   3063   int tmp___5 ;
3064   int tmp___6 ;   3064   int tmp___6 ;
3065   int tmp___7 ;   3065   int tmp___7 ;
3066   int tmp___8 ;   3066   int tmp___8 ;
3067   int tmp___9 ;   3067   int tmp___9 ;
3068   size_t tmp___10 ;   3068   size_t tmp___10 ;
3069   size_t tmp___11 ;   3069   size_t tmp___11 ;
3070   int tmp___12 ;   3070   int tmp___12 ;
3071     3071  
3072   {   3072   {
3073   if (tif->tif_fields) { <> 3073   if (((tif->tif_fields && tif->tif_nfields > 0) && tif->tif_nfields > 0) && tif->tif_nfields > 0) {
3074     if (tif->tif_nfields > 0U) { = 3074     if (tif->tif_nfields > 0U) {
3075       i = (uint32 )0;   3075       i = (uint32 )0;
3076       while (i < tif->tif_nfields) {   3076       while (i < tif->tif_nfields) {
3077         fld = *(tif->tif_fields + i);   3077         fld = *(tif->tif_fields + i);
3078         if ((int )fld->field_bit == 65) {   3078         if ((int )fld->field_bit == 65) {
3079           if (0) {   3079           if (0) {
3080             if (0) {   3080             if (0) {
3081               __s1_len = strlen("Tag ");   3081               __s1_len = strlen("Tag ");
3082               __s2_len = strlen((char const   *)fld->field_name);   3082               __s2_len = strlen((char const   *)fld->field_name);
3083               if (! ((size_t )((void const   *)("Tag " + 1)) - (size_t )((void const   *)"Tag ") == 1U)) {   3083               if (! ((size_t )((void const   *)("Tag " + 1)) - (size_t )((void const   *)"Tag ") == 1U)) {
3084                 goto _L___0;   3084                 goto _L___0;
3085               } else   3085               } else
3086               if (__s1_len >= 4U) {   3086               if (__s1_len >= 4U) {
3087                 _L___0: /* CIL Label */   3087                 _L___0: /* CIL Label */
3088                 if (! ((size_t )((void const   *)(fld->field_name + 1)) - (size_t )((void const   *)fld->field_name) == 1U)) {   3088                 if (! ((size_t )((void const   *)(fld->field_name + 1)) - (size_t )((void const   *)fld->field_name) == 1U)) {
3089                   tmp___7 = 1;   3089                   tmp___7 = 1;
3090                 } else   3090                 } else
3091                 if (__s2_len >= 4U) {   3091                 if (__s2_len >= 4U) {
3092                   tmp___7 = 1;   3092                   tmp___7 = 1;
3093                 } else {   3093                 } else {
3094                   tmp___7 = 0;   3094                   tmp___7 = 0;
3095                 }   3095                 }
3096               } else {   3096               } else {
3097                 tmp___7 = 0;   3097                 tmp___7 = 0;
3098               }   3098               }
3099               if (tmp___7) {   3099               if (tmp___7) {
3100                 tmp___2 = __builtin_strcmp("Tag ",   3100                 tmp___2 = __builtin_strcmp("Tag ",
3101                                            (char const   *)fld->field_name);   3101                                            (char const   *)fld->field_name);
3102                 tmp___6 = tmp___2;   3102                 tmp___6 = tmp___2;
3103               } else {   3103               } else {
3104                 tmp___5 = __builtin_strcmp("Tag ",   3104                 tmp___5 = __builtin_strcmp("Tag ",
3105                                            (char const   *)fld->field_name);   3105                                            (char const   *)fld->field_name);
3106                 tmp___6 = tmp___5;   3106                 tmp___6 = tmp___5;
3107               }   3107               }
3108             } else {   3108             } else {
3109               tmp___5 = __builtin_strcmp("Tag ", (char const   *)fld->field_name);   3109               tmp___5 = __builtin_strcmp("Tag ", (char const   *)fld->field_name);
3110               tmp___6 = tmp___5;   3110               tmp___6 = tmp___5;
3111             }   3111             }
3112             tmp___9 = tmp___6;   3112             tmp___9 = tmp___6;
3113           } else {   3113           } else {
3114             tmp___8 = strncmp("Tag ", (char const   *)fld->field_name,   3114             tmp___8 = strncmp("Tag ", (char const   *)fld->field_name,
3115                               (size_t )4);   3115                               (size_t )4);
3116             tmp___9 = tmp___8;   3116             tmp___9 = tmp___8;
3117           }   3117           }
3118           if (tmp___9 == 0) {   3118           if (tmp___9 == 0) {
3119             _TIFFfree((void *)fld->field_name);   3119             _TIFFfree((void *)fld->field_name);
3120             _TIFFfree((void *)fld);   3120             _TIFFfree((void *)fld);
3121           } else {   3121           } else {
3122     3122  
3123           }   3123           }
3124         } else {   3124         } else {
3125     3125  
3126         }   3126         }
3127         i ++;   3127         i ++;
3128       }   3128       }
3129       _TIFFfree((void *)tif->tif_fields);   3129       _TIFFfree((void *)tif->tif_fields);
3130       tif->tif_fields = (TIFFField **)((void *)0);   3130       tif->tif_fields = (TIFFField **)((void *)0);
3131       tif->tif_nfields = (uint32 )0;   3131       tif->tif_nfields = (uint32 )0;
3132     } else {   3132     } else {
3133     3133  
3134     }   3134     }
3135   } else {   3135   } else {
3136     3136  
3137   }   3137   }
3138   tmp___12 = _TIFFMergeFields(tif, (TIFFField const   *)fieldarray->fields,   3138   tmp___12 = _TIFFMergeFields(tif, (TIFFField const   *)fieldarray->fields,
3139                               (uint32 )fieldarray->count);   3139                               (uint32 )fieldarray->count);
3140   if (tmp___12) {   3140   if (tmp___12) {
3141     3141  
3142   } else {   3142   } else {
3143     TIFFErrorExt(tif->tif_clientdata, "_TIFFSetupFields",   3143     TIFFErrorExt(tif->tif_clientdata, "_TIFFSetupFields",
3144                  "Setting up field info failed");   3144                  "Setting up field info failed");
3145   }   3145   }
3146   return;   3146   return;
3147 }   3147 }
3148 }   3148 }
3149 static int tagCompare(void const   *a , void const   *b )   3149 static int tagCompare(void const   *a , void const   *b )
3150 {   3150 {
3151   TIFFField const   *ta ;   3151   TIFFField const   *ta ;
3152   TIFFField const   *tb ;   3152   TIFFField const   *tb ;
3153   int tmp ;   3153   int tmp ;
3154     3154  
3155   {   3155   {
3156   ta = *((TIFFField const   **)a);   3156   ta = *((TIFFField const   **)a);
3157   tb = *((TIFFField const   **)b);   3157   tb = *((TIFFField const   **)b);
3158   if (ta->field_tag != tb->field_tag) {   3158   if (ta->field_tag != tb->field_tag) {
3159     return ((int )ta->field_tag - (int )tb->field_tag);   3159     return ((int )ta->field_tag - (int )tb->field_tag);
3160   } else {   3160   } else {
3161     if ((unsigned int const   )ta->field_type == 0U) {   3161     if ((unsigned int const   )ta->field_type == 0U) {
3162       tmp = 0;   3162       tmp = 0;
3163     } else {   3163     } else {
3164       tmp = (int )tb->field_type - (int )ta->field_type;   3164       tmp = (int )tb->field_type - (int )ta->field_type;
3165     }   3165     }
3166     return (tmp);   3166     return (tmp);
3167   }   3167   }
3168 }   3168 }
3169 }   3169 }
3170 static int tagNameCompare(void const   *a , void const   *b )   3170 static int tagNameCompare(void const   *a , void const   *b )
3171 {   3171 {
3172   TIFFField const   *ta ;   3172   TIFFField const   *ta ;
3173   TIFFField const   *tb ;   3173   TIFFField const   *tb ;
3174   int ret ;   3174   int ret ;
3175   size_t __s1_len ;   3175   size_t __s1_len ;
3176   size_t __s2_len ;   3176   size_t __s2_len ;
3177   int tmp ;   3177   int tmp ;
3178   int tmp___0 ;   3178   int tmp___0 ;
3179   int tmp___1 ;   3179   int tmp___1 ;
3180   unsigned char const   *__s2 ;   3180   unsigned char const   *__s2 ;
3181   register int __result ;   3181   register int __result ;
3182   int tmp___2 ;   3182   int tmp___2 ;
3183   unsigned char const   *__s1 ;   3183   unsigned char const   *__s1 ;
3184   register int __result___0 ;   3184   register int __result___0 ;
3185   int tmp___3 ;   3185   int tmp___3 ;
3186   int tmp___4 ;   3186   int tmp___4 ;
3187   int tmp___5 ;   3187   int tmp___5 ;
3188   int tmp___6 ;   3188   int tmp___6 ;
3189     3189  
3190   {   3190   {
3191   ta = *((TIFFField const   **)a);   3191   ta = *((TIFFField const   **)a);
3192   tb = *((TIFFField const   **)b);   3192   tb = *((TIFFField const   **)b);
3193   if (0) {   3193   if (0) {
3194     __s1_len = strlen((char const   *)ta->field_name);   3194     __s1_len = strlen((char const   *)ta->field_name);
3195     __s2_len = strlen((char const   *)tb->field_name);   3195     __s2_len = strlen((char const   *)tb->field_name);
3196     if (! ((size_t )((void const   *)(ta->field_name + 1)) - (size_t )((void const   *)ta->field_name) == 1U)) {   3196     if (! ((size_t )((void const   *)(ta->field_name + 1)) - (size_t )((void const   *)ta->field_name) == 1U)) {
3197       goto _L___0;   3197       goto _L___0;
3198     } else   3198     } else
3199     if (__s1_len >= 4U) {   3199     if (__s1_len >= 4U) {
3200       _L___0: /* CIL Label */   3200       _L___0: /* CIL Label */
3201       if (! ((size_t )((void const   *)(tb->field_name + 1)) - (size_t )((void const   *)tb->field_name) == 1U)) {   3201       if (! ((size_t )((void const   *)(tb->field_name + 1)) - (size_t )((void const   *)tb->field_name) == 1U)) {
3202         tmp___5 = 1;   3202         tmp___5 = 1;
3203       } else   3203       } else
3204       if (__s2_len >= 4U) {   3204       if (__s2_len >= 4U) {
3205         tmp___5 = 1;   3205         tmp___5 = 1;
3206       } else {   3206       } else {
3207         tmp___5 = 0;   3207         tmp___5 = 0;
3208       }   3208       }
3209     } else {   3209     } else {
3210       tmp___5 = 0;   3210       tmp___5 = 0;
3211     }   3211     }
3212     if (tmp___5) {   3212     if (tmp___5) {
3213       tmp___0 = __builtin_strcmp((char const   *)ta->field_name,   3213       tmp___0 = __builtin_strcmp((char const   *)ta->field_name,
3214                                  (char const   *)tb->field_name);   3214                                  (char const   *)tb->field_name);
3215       tmp___4 = tmp___0;   3215       tmp___4 = tmp___0;
3216     } else {   3216     } else {
3217       tmp___3 = __builtin_strcmp((char const   *)ta->field_name,   3217       tmp___3 = __builtin_strcmp((char const   *)ta->field_name,
3218                                  (char const   *)tb->field_name);   3218                                  (char const   *)tb->field_name);
3219       tmp___4 = tmp___3;   3219       tmp___4 = tmp___3;
3220     }   3220     }
3221   } else {   3221   } else {
3222     tmp___3 = __builtin_strcmp((char const   *)ta->field_name,   3222     tmp___3 = __builtin_strcmp((char const   *)ta->field_name,
3223                                (char const   *)tb->field_name);   3223                                (char const   *)tb->field_name);
3224     tmp___4 = tmp___3;   3224     tmp___4 = tmp___3;
3225   }   3225   }
3226   ret = tmp___4;   3226   ret = tmp___4;
3227   if (ret) {   3227   if (ret) {
3228     return (ret);   3228     return (ret);
3229   } else {   3229   } else {
3230     if ((unsigned int const   )ta->field_type == 0U) {   3230     if ((unsigned int const   )ta->field_type == 0U) {
3231       tmp___6 = 0;   3231       tmp___6 = 0;
3232     } else {   3232     } else {
3233       tmp___6 = (int )tb->field_type - (int )ta->field_type;   3233       tmp___6 = (int )tb->field_type - (int )ta->field_type;
3234     }   3234     }
3235     return (tmp___6);   3235     return (tmp___6);
3236   }   3236   }
3237 }   3237 }
3238 }   3238 }
3239 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n )   3239 int _TIFFMergeFields(TIFF *tif , TIFFField const   *info , uint32 n )
3240 {   3240 {
3241   char module[17] ;   3241   char module[17] ;
3242   char reason[17] ;   3242   char reason[17] ;
3243   TIFFField **tp ;   3243   TIFFField **tp ;
3244   uint32 i ;   3244   uint32 i ;
3245   TIFFField const   *fip ;   3245   TIFFField const   *fip ;
3246   TIFFField const   *tmp ;   3246   TIFFField const   *tmp ;
3247   void *tmp___0 ;   3247   void *tmp___0 ;
3248   void *tmp___1 ;   3248   void *tmp___1 ;
3249   TIFFField **tmp___2 ;   3249   TIFFField **tmp___2 ;
3250   uint32 tmp___3 ;   3250   uint32 tmp___3 ;
3251     3251  
3252   {   3252   {
3253   module[0] = (char )'_';   3253   module[0] = (char )'_';
3254   module[1] = (char )'T';   3254   module[1] = (char )'T';
3255   module[2] = (char )'I';   3255   module[2] = (char )'I';
3256   module[3] = (char )'F';   3256   module[3] = (char )'F';
3257   module[4] = (char )'F';   3257   module[4] = (char )'F';
3258   module[5] = (char )'M';   3258   module[5] = (char )'M';
3259   module[6] = (char )'e';   3259   module[6] = (char )'e';
3260   module[7] = (char )'r';   3260   module[7] = (char )'r';
3261   module[8] = (char )'g';   3261   module[8] = (char )'g';
3262   module[9] = (char )'e';   3262   module[9] = (char )'e';
3263   module[10] = (char )'F';   3263   module[10] = (char )'F';
3264   module[11] = (char )'i';   3264   module[11] = (char )'i';
3265   module[12] = (char )'e';   3265   module[12] = (char )'e';
3266   module[13] = (char )'l';   3266   module[13] = (char )'l';
3267   module[14] = (char )'d';   3267   module[14] = (char )'d';
3268   module[15] = (char )'s';   3268   module[15] = (char )'s';
3269   module[16] = (char )'\000';   3269   module[16] = (char )'\000';
3270   reason[0] = (char )'f';   3270   reason[0] = (char )'f';
3271   reason[1] = (char )'o';   3271   reason[1] = (char )'o';
3272   reason[2] = (char )'r';   3272   reason[2] = (char )'r';
3273   reason[3] = (char )' ';   3273   reason[3] = (char )' ';
3274   reason[4] = (char )'f';   3274   reason[4] = (char )'f';
3275   reason[5] = (char )'i';   3275   reason[5] = (char )'i';
3276   reason[6] = (char )'e';   3276   reason[6] = (char )'e';
3277   reason[7] = (char )'l';   3277   reason[7] = (char )'l';
3278   reason[8] = (char )'d';   3278   reason[8] = (char )'d';
3279   reason[9] = (char )'s';   3279   reason[9] = (char )'s';
3280   reason[10] = (char )' ';   3280   reason[10] = (char )' ';
3281   reason[11] = (char )'a';   3281   reason[11] = (char )'a';
3282   reason[12] = (char )'r';   3282   reason[12] = (char )'r';
3283   reason[13] = (char )'r';   3283   reason[13] = (char )'r';
3284   reason[14] = (char )'a';   3284   reason[14] = (char )'a';
3285   reason[15] = (char )'y';   3285   reason[15] = (char )'y';
3286   reason[16] = (char )'\000';   3286   reason[16] = (char )'\000';
3287   i = (uint32 )0;   3287   i = (uint32 )0;
3288   while (i < n) {   3288   while (i < n) {
3289     tmp = TIFFFindField(tif, (uint32 )(info + i)->field_tag, (TIFFDataType )0);   3289     tmp = TIFFFindField(tif, (uint32 )(info + i)->field_tag, (TIFFDataType )0);
3290     fip = tmp;   3290     fip = tmp;
3291     if (fip) {   3291     if (fip) {
3292       TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   3292       TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
3293                    "Field with tag %lu is already registered as \"%s\"",   3293                    "Field with tag %lu is already registered as \"%s\"",
3294                    (unsigned int )(info + i)->field_tag, fip->field_name);   3294                    (unsigned int )(info + i)->field_tag, fip->field_name);
3295       return (0);   3295       return (0);
3296     } else {   3296     } else {
3297     3297  
3298     }   3298     }
3299     i ++;   3299     i ++;
3300   }   3300   }
3301   tif->tif_foundfield = (TIFFField const   *)((void *)0);   3301   tif->tif_foundfield = (TIFFField const   *)((void *)0);
3302   if (tif->tif_fields) { <> 3302   if ((tif->tif_fields && tif->tif_nfields > 0) && tif->tif_nfields > 0) {
3303     if (tif->tif_nfields > 0U) { = 3303     if (tif->tif_nfields > 0U) {
3304       tmp___0 = _TIFFCheckRealloc(tif, (void *)tif->tif_fields,   3304       tmp___0 = _TIFFCheckRealloc(tif, (void *)tif->tif_fields,
3305                                   (tmsize_t )(tif->tif_nfields + n),   3305                                   (tmsize_t )(tif->tif_nfields + n),
3306                                   (tmsize_t )sizeof(TIFFField *),   3306                                   (tmsize_t )sizeof(TIFFField *),
3307                                   (char const   *)(reason));   3307                                   (char const   *)(reason));
3308       tif->tif_fields = (TIFFField **)tmp___0;   3308       tif->tif_fields = (TIFFField **)tmp___0;
3309     } else {   3309     } else {
3310       tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,   3310       tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,
3311                                  (tmsize_t )sizeof(TIFFField *),   3311                                  (tmsize_t )sizeof(TIFFField *),
3312                                  (char const   *)(reason));   3312                                  (char const   *)(reason));
3313       tif->tif_fields = (TIFFField **)tmp___1;   3313       tif->tif_fields = (TIFFField **)tmp___1;
3314     }   3314     }
3315   } else {   3315   } else {
3316     tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,   3316     tmp___1 = _TIFFCheckMalloc(tif, (tmsize_t )n,
3317                                (tmsize_t )sizeof(TIFFField *),   3317                                (tmsize_t )sizeof(TIFFField *),
3318                                (char const   *)(reason));   3318                                (char const   *)(reason));
3319     tif->tif_fields = (TIFFField **)tmp___1;   3319     tif->tif_fields = (TIFFField **)tmp___1;
3320   }   3320   }
3321   if (! tif->tif_fields) {   3321   if (! tif->tif_fields) {
3322     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   3322     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
3323                  "Failed to allocate fields array");   3323                  "Failed to allocate fields array");
3324     return (0);   3324     return (0);
3325   } else {   3325   } else {
3326     3326  
3327   }   3327   }
3328   tp = tif->tif_fields + tif->tif_nfields;   3328   tp = tif->tif_fields + tif->tif_nfields;
3329   i = (uint32 )0;   3329   i = (uint32 )0;
3330   while (i < n) {   3330   while (i < n) {
3331     tmp___2 = tp;   3331     tmp___2 = tp;
3332     tp ++;   3332     tp ++;
3333     *tmp___2 = (TIFFField *)(info + i);   3333     *tmp___2 = (TIFFField *)(info + i);
3334     i ++;   3334     i ++;
3335   }   3335   }
3336   tmp___3 = tif->tif_nfields + n;   3336   tmp___3 = tif->tif_nfields + n;
3337   tif->tif_nfields = tmp___3;   3337   tif->tif_nfields = tmp___3;
3338   qsort((void *)tif->tif_fields, tmp___3, sizeof(TIFFField *), & tagCompare);   3338   qsort((void *)tif->tif_fields, tmp___3, sizeof(TIFFField *), & tagCompare);
3339   return ((int )n);   3339   return ((int )n);
3340 }   3340 }
3341 }   3341 }
3342 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd )   3342 void _TIFFPrintFieldInfo(TIFF *tif , FILE *fd )
3343 {   3343 {
3344   uint32 i ;   3344   uint32 i ;
3345   TIFFField const   *fip ;   3345   TIFFField const   *fip ;
3346   char const   *tmp ;   3346   char const   *tmp ;
3347   char const   *tmp___0 ;   3347   char const   *tmp___0 ;
3348     3348  
3349   {   3349   {
3350   fprintf((FILE */* __restrict  */)fd,   3350   fprintf((FILE */* __restrict  */)fd,
3351           (char const   */* __restrict  */)"%s: \n", tif->tif_name);   3351           (char const   */* __restrict  */)"%s: \n", tif->tif_name);
3352   i = (uint32 )0;   3352   i = (uint32 )0;
3353   while (i < tif->tif_nfields) {   3353   while (i < tif->tif_nfields) {
3354     fip = (TIFFField const   *)*(tif->tif_fields + i);   3354     fip = (TIFFField const   *)*(tif->tif_fields + i);
3355     if (fip->field_passcount) {   3355     if (fip->field_passcount) {
3356       tmp = "TRUE";   3356       tmp = "TRUE";
3357     } else {   3357     } else {
3358       tmp = "FALSE";   3358       tmp = "FALSE";
3359     }   3359     }
3360     if (fip->field_oktochange) {   3360     if (fip->field_oktochange) {
3361       tmp___0 = "TRUE";   3361       tmp___0 = "TRUE";
3362     } else {   3362     } else {
3363       tmp___0 = "FALSE";   3363       tmp___0 = "FALSE";
3364     }   3364     }
3365     fprintf((FILE */* __restrict  */)fd,   3365     fprintf((FILE */* __restrict  */)fd,
3366             (char const   */* __restrict  */)"field[%2d] %5lu, %2d, %2d, %d, %2d, %5s, %5s, %s\n",   3366             (char const   */* __restrict  */)"field[%2d] %5lu, %2d, %2d, %d, %2d, %5s, %5s, %s\n",
3367             (int )i, (unsigned long )fip->field_tag,   3367             (int )i, (unsigned long )fip->field_tag,
3368             (int const   )fip->field_readcount,   3368             (int const   )fip->field_readcount,
3369             (int const   )fip->field_writecount,   3369             (int const   )fip->field_writecount,
3370             (unsigned int const   )fip->field_type,   3370             (unsigned int const   )fip->field_type,
3371             (int const   )fip->field_bit, tmp___0, tmp, fip->field_name);   3371             (int const   )fip->field_bit, tmp___0, tmp, fip->field_name);
3372     i ++;   3372     i ++;
3373   }   3373   }
3374   return;   3374   return;
3375 }   3375 }
3376 }   3376 }
3377 int TIFFDataWidth(TIFFDataType type )   3377 int TIFFDataWidth(TIFFDataType type )
3378 {   3378 {
3379     3379  
3380     3380  
3381   {   3381   {
3382   switch ((unsigned int )type) {   3382   switch ((unsigned int )type) {
3383   case 7U:   3383   case 7U:
3384   case 6U:   3384   case 6U:
3385   case 2U:   3385   case 2U:
3386   case 1U:   3386   case 1U:
3387   case 0U:   3387   case 0U:
3388   return (1);   3388   return (1);
3389   case 8U:   3389   case 8U:
3390   case 3U:   3390   case 3U:
3391   return (2);   3391   return (2);
3392   case 13U:   3392   case 13U:
3393   case 11U:   3393   case 11U:
3394   case 9U:   3394   case 9U:
3395   case 4U:   3395   case 4U:
3396   return (4);   3396   return (4);
3397   case 18U:   3397   case 18U:
3398   case 17U:   3398   case 17U:
3399   case 16U:   3399   case 16U:
3400   case 12U:   3400   case 12U:
3401   case 10U:   3401   case 10U:
3402   case 5U:   3402   case 5U:
3403   return (8);   3403   return (8);
3404   default:   3404   default:
3405   return (0);   3405   return (0);
3406   }   3406   }
3407 }   3407 }
3408 }   3408 }
3409 int _TIFFDataSize(TIFFDataType type )   3409 int _TIFFDataSize(TIFFDataType type )
3410 {   3410 {
3411     3411  
3412     3412  
3413   {   3413   {
3414   switch ((unsigned int )type) {   3414   switch ((unsigned int )type) {
3415   case 7U:   3415   case 7U:
3416   case 2U:   3416   case 2U:
3417   case 6U:   3417   case 6U:
3418   case 1U:   3418   case 1U:
3419   return (1);   3419   return (1);
3420   case 8U:   3420   case 8U:
3421   case 3U:   3421   case 3U:
3422   return (2);   3422   return (2);
3423   case 10U:   3423   case 10U:
3424   case 5U:   3424   case 5U:
3425   case 13U:   3425   case 13U:
3426   case 11U:   3426   case 11U:
3427   case 9U:   3427   case 9U:
3428   case 4U:   3428   case 4U:
3429   return (4);   3429   return (4);
3430   case 18U:   3430   case 18U:
3431   case 17U:   3431   case 17U:
3432   case 16U:   3432   case 16U:
3433   case 12U:   3433   case 12U:
3434   return (8);   3434   return (8);
3435   default:   3435   default:
3436   return (0);   3436   return (0);
3437   }   3437   }
3438 }   3438 }
3439 }   3439 }
3440 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt )   3440 TIFFField const   *TIFFFindField(TIFF *tif , uint32 tag , TIFFDataType dt )
3441 {   3441 {
3442   TIFFField key ;   3442   TIFFField key ;
3443   TIFFField *pkey ;   3443   TIFFField *pkey ;
3444   TIFFField const   **ret ;   3444   TIFFField const   **ret ;
3445   void *tmp ;   3445   void *tmp ;
3446   TIFFField const   *tmp___0 ;   3446   TIFFField const   *tmp___0 ;
3447     3447  
3448   {   3448   {
3449   key.field_tag = (uint32 )0;   3449   key.field_tag = (uint32 )0;
3450   key.field_readcount = (short)0;   3450   key.field_readcount = (short)0;
3451   key.field_writecount = (short)0;   3451   key.field_writecount = (short)0;
3452   key.field_type = (TIFFDataType )0;   3452   key.field_type = (TIFFDataType )0;
3453   key.reserved = (uint32 )0;   3453   key.reserved = (uint32 )0;
3454   key.set_field_type = (TIFFSetGetFieldType )0;   3454   key.set_field_type = (TIFFSetGetFieldType )0;
3455   key.get_field_type = (TIFFSetGetFieldType )0;   3455   key.get_field_type = (TIFFSetGetFieldType )0;
3456   key.field_bit = (unsigned short)0;   3456   key.field_bit = (unsigned short)0;
3457   key.field_oktochange = (unsigned char)0;   3457   key.field_oktochange = (unsigned char)0;
3458   key.field_passcount = (unsigned char)0;   3458   key.field_passcount = (unsigned char)0;
3459   key.field_name = (char *)((void *)0);   3459   key.field_name = (char *)((void *)0);
3460   key.field_subfields = (TIFFFieldArray *)((void *)0);   3460   key.field_subfields = (TIFFFieldArray *)((void *)0);
3461   pkey = & key;   3461   pkey = & key;
3462   if (tif->tif_foundfield) {   3462   if (tif->tif_foundfield) {
3463     if ((tif->tif_foundfield)->field_tag == (uint32 const   )tag) {   3463     if ((tif->tif_foundfield)->field_tag == (uint32 const   )tag) {
3464       if ((unsigned int )dt == 0U) {   3464       if ((unsigned int )dt == 0U) {
3465         return (tif->tif_foundfield);   3465         return (tif->tif_foundfield);
3466       } else   3466       } else
3467       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {   3467       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {
3468         return (tif->tif_foundfield);   3468         return (tif->tif_foundfield);
3469       } else {   3469       } else {
3470     3470  
3471       }   3471       }
3472     } else {   3472     } else {
3473     3473  
3474     }   3474     }
3475   } else {   3475   } else {
3476     3476  
3477   }   3477   }
3478   if (! tif->tif_fields) {   3478   if (! tif->tif_fields) {
3479     return ((TIFFField const   *)((void *)0));   3479     return ((TIFFField const   *)((void *)0));
3480   } else {   3480   } else {
3481     3481  
3482   }   3482   }
3483   key.field_tag = tag;   3483   key.field_tag = tag;
3484   key.field_type = dt;   3484   key.field_type = dt;
3485   tmp = bsearch((void const   *)(& pkey), (void const   *)tif->tif_fields,   3485   tmp = bsearch((void const   *)(& pkey), (void const   *)tif->tif_fields,
3486                 tif->tif_nfields, sizeof(TIFFField *), & tagCompare);   3486                 tif->tif_nfields, sizeof(TIFFField *), & tagCompare);
3487   ret = (TIFFField const   **)tmp;   3487   ret = (TIFFField const   **)tmp;
3488   if (ret) {   3488   if (ret) {
3489     tmp___0 = *ret;   3489     tmp___0 = *ret;
3490   } else {   3490   } else {
3491     tmp___0 = (TIFFField const   *)((void *)0);   3491     tmp___0 = (TIFFField const   *)((void *)0);
3492   }   3492   }
3493   tif->tif_foundfield = tmp___0;   3493   tif->tif_foundfield = tmp___0;
3494   return (tmp___0);   3494   return (tmp___0);
3495 }   3495 }
3496 }   3496 }
3497 TIFFField const   *_TIFFFindFieldByName(TIFF *tif , char const   *field_name ,   3497 TIFFField const   *_TIFFFindFieldByName(TIFF *tif , char const   *field_name ,
3498                                         TIFFDataType dt )   3498                                         TIFFDataType dt )
3499 {   3499 {
3500   TIFFField key ;   3500   TIFFField key ;
3501   TIFFField *pkey ;   3501   TIFFField *pkey ;
3502   TIFFField const   **ret ;   3502   TIFFField const   **ret ;
3503   size_t __s1_len ;   3503   size_t __s1_len ;
3504   size_t __s2_len ;   3504   size_t __s2_len ;
3505   int tmp ;   3505   int tmp ;
3506   int tmp___0 ;   3506   int tmp___0 ;
3507   int tmp___1 ;   3507   int tmp___1 ;
3508   unsigned char const   *__s2 ;   3508   unsigned char const   *__s2 ;
3509   register int __result ;   3509   register int __result ;
3510   int tmp___2 ;   3510   int tmp___2 ;
3511   unsigned char const   *__s1 ;   3511   unsigned char const   *__s1 ;
3512   register int __result___0 ;   3512   register int __result___0 ;
3513   int tmp___3 ;   3513   int tmp___3 ;
3514   int tmp___4 ;   3514   int tmp___4 ;
3515   int tmp___5 ;   3515   int tmp___5 ;
3516   void *tmp___6 ;   3516   void *tmp___6 ;
3517   TIFFField const   *tmp___7 ;   3517   TIFFField const   *tmp___7 ;
3518     3518  
3519   {   3519   {
3520   key.field_tag = (uint32 )0;   3520   key.field_tag = (uint32 )0;
3521   key.field_readcount = (short)0;   3521   key.field_readcount = (short)0;
3522   key.field_writecount = (short)0;   3522   key.field_writecount = (short)0;
3523   key.field_type = (TIFFDataType )0;   3523   key.field_type = (TIFFDataType )0;
3524   key.reserved = (uint32 )0;   3524   key.reserved = (uint32 )0;
3525   key.set_field_type = (TIFFSetGetFieldType )0;   3525   key.set_field_type = (TIFFSetGetFieldType )0;
3526   key.get_field_type = (TIFFSetGetFieldType )0;   3526   key.get_field_type = (TIFFSetGetFieldType )0;
3527   key.field_bit = (unsigned short)0;   3527   key.field_bit = (unsigned short)0;
3528   key.field_oktochange = (unsigned char)0;   3528   key.field_oktochange = (unsigned char)0;
3529   key.field_passcount = (unsigned char)0;   3529   key.field_passcount = (unsigned char)0;
3530   key.field_name = (char *)((void *)0);   3530   key.field_name = (char *)((void *)0);
3531   key.field_subfields = (TIFFFieldArray *)((void *)0);   3531   key.field_subfields = (TIFFFieldArray *)((void *)0);
3532   pkey = & key;   3532   pkey = & key;
3533   if (tif->tif_foundfield) {   3533   if (tif->tif_foundfield) {
3534     if (0) {   3534     if (0) {
3535       __s1_len = strlen((char const   *)(tif->tif_foundfield)->field_name);   3535       __s1_len = strlen((char const   *)(tif->tif_foundfield)->field_name);
3536       __s2_len = strlen(field_name);   3536       __s2_len = strlen(field_name);
3537       if (! ((size_t )((void const   *)((tif->tif_foundfield)->field_name + 1)) - (size_t )((void const   *)(tif->tif_foundfield)->field_name) == 1U)) {   3537       if (! ((size_t )((void const   *)((tif->tif_foundfield)->field_name + 1)) - (size_t )((void const   *)(tif->tif_foundfield)->field_name) == 1U)) {
3538         goto _L___0;   3538         goto _L___0;
3539       } else   3539       } else
3540       if (__s1_len >= 4U) {   3540       if (__s1_len >= 4U) {
3541         _L___0: /* CIL Label */   3541         _L___0: /* CIL Label */
3542         if (! ((size_t )((void const   *)(field_name + 1)) - (size_t )((void const   *)field_name) == 1U)) {   3542         if (! ((size_t )((void const   *)(field_name + 1)) - (size_t )((void const   *)field_name) == 1U)) {
3543           tmp___5 = 1;   3543           tmp___5 = 1;
3544         } else   3544         } else
3545         if (__s2_len >= 4U) {   3545         if (__s2_len >= 4U) {
3546           tmp___5 = 1;   3546           tmp___5 = 1;
3547         } else {   3547         } else {
3548           tmp___5 = 0;   3548           tmp___5 = 0;
3549         }   3549         }
3550       } else {   3550       } else {
3551         tmp___5 = 0;   3551         tmp___5 = 0;
3552       }   3552       }
3553       if (tmp___5) {   3553       if (tmp___5) {
3554         tmp___0 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,   3554         tmp___0 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,
3555                                    field_name);   3555                                    field_name);
3556         tmp___4 = tmp___0;   3556         tmp___4 = tmp___0;
3557       } else {   3557       } else {
3558         tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,   3558         tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,
3559                                    field_name);   3559                                    field_name);
3560         tmp___4 = tmp___3;   3560         tmp___4 = tmp___3;
3561       }   3561       }
3562     } else {   3562     } else {
3563       tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,   3563       tmp___3 = __builtin_strcmp((char const   *)(tif->tif_foundfield)->field_name,
3564                                  field_name);   3564                                  field_name);
3565       tmp___4 = tmp___3;   3565       tmp___4 = tmp___3;
3566     }   3566     }
3567     if (tmp___4 == 0) {   3567     if (tmp___4 == 0) {
3568       if ((unsigned int )dt == 0U) {   3568       if ((unsigned int )dt == 0U) {
3569         return (tif->tif_foundfield);   3569         return (tif->tif_foundfield);
3570       } else   3570       } else
3571       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {   3571       if ((unsigned int )dt == (unsigned int )(tif->tif_foundfield)->field_type) {
3572         return (tif->tif_foundfield);   3572         return (tif->tif_foundfield);
3573       } else {   3573       } else {
3574     3574  
3575       }   3575       }
3576     } else {   3576     } else {
3577     3577  
3578     }   3578     }
3579   } else {   3579   } else {
3580     3580  
3581   }   3581   }
3582   if (! tif->tif_fields) {   3582   if (! tif->tif_fields) {
3583     return ((TIFFField const   *)((void *)0));   3583     return ((TIFFField const   *)((void *)0));
3584   } else {   3584   } else {
3585     3585  
3586   }   3586   }
3587   key.field_name = (char *)field_name;   3587   key.field_name = (char *)field_name;
3588   key.field_type = dt;   3588   key.field_type = dt;
3589   tmp___6 = lfind((void const   *)(& pkey), (void const   *)tif->tif_fields,   3589   tmp___6 = lfind((void const   *)(& pkey), (void const   *)tif->tif_fields,
3590                   & tif->tif_nfields, sizeof(TIFFField *), & tagNameCompare);   3590                   & tif->tif_nfields, sizeof(TIFFField *), & tagNameCompare);
3591   ret = (TIFFField const   **)tmp___6;   3591   ret = (TIFFField const   **)tmp___6;
3592   if (ret) {   3592   if (ret) {
3593     tmp___7 = *ret;   3593     tmp___7 = *ret;
3594   } else {   3594   } else {
3595     tmp___7 = (TIFFField const   *)((void *)0);   3595     tmp___7 = (TIFFField const   *)((void *)0);
3596   }   3596   }
3597   tif->tif_foundfield = tmp___7;   3597   tif->tif_foundfield = tmp___7;
3598   return (tmp___7);   3598   return (tmp___7);
3599 }   3599 }
3600 }   3600 }
3601 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag )   3601 TIFFField const   *TIFFFieldWithTag(TIFF *tif , uint32 tag )
3602 {   3602 {
3603   TIFFField const   *fip ;   3603   TIFFField const   *fip ;
3604   TIFFField const   *tmp ;   3604   TIFFField const   *tmp ;
3605     3605  
3606   {   3606   {
3607   tmp = TIFFFindField(tif, tag, (TIFFDataType )0);   3607   tmp = TIFFFindField(tif, tag, (TIFFDataType )0);
3608   fip = tmp;   3608   fip = tmp;
3609   if (! fip) {   3609   if (! fip) {
3610     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithTag",   3610     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithTag",
3611                  "Internal error, unknown tag 0x%x", tag);   3611                  "Internal error, unknown tag 0x%x", tag);
3612     if ((unsigned int )fip != (unsigned int )((void *)0)) {   3612     if ((unsigned int )fip != (unsigned int )((void *)0)) {
3613     3613  
3614     } else {   3614     } else {
3615       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 524U,   3615       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 524U,
3616                     "TIFFFieldWithTag");   3616                     "TIFFFieldWithTag");
3617     }   3617     }
3618   } else {   3618   } else {
3619     3619  
3620   }   3620   }
3621   return (fip);   3621   return (fip);
3622 }   3622 }
3623 }   3623 }
3624 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name )   3624 TIFFField const   *TIFFFieldWithName(TIFF *tif , char const   *field_name )
3625 {   3625 {
3626   TIFFField const   *fip ;   3626   TIFFField const   *fip ;
3627   TIFFField const   *tmp ;   3627   TIFFField const   *tmp ;
3628     3628  
3629   {   3629   {
3630   tmp = _TIFFFindFieldByName(tif, field_name, (TIFFDataType )0);   3630   tmp = _TIFFFindFieldByName(tif, field_name, (TIFFDataType )0);
3631   fip = tmp;   3631   fip = tmp;
3632   if (! fip) {   3632   if (! fip) {
3633     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithName",   3633     TIFFErrorExt(tif->tif_clientdata, "TIFFFieldWithName",
3634                  "Internal error, unknown tag %s", field_name);   3634                  "Internal error, unknown tag %s", field_name);
3635     if ((unsigned int )fip != (unsigned int )((void *)0)) {   3635     if ((unsigned int )fip != (unsigned int )((void *)0)) {
3636     3636  
3637     } else {   3637     } else {
3638       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 538U,   3638       __assert_fail("fip != ((void *)0)", "tif_dirinfo.c", 538U,
3639                     "TIFFFieldWithName");   3639                     "TIFFFieldWithName");
3640     }   3640     }
3641   } else {   3641   } else {
3642     3642  
3643   }   3643   }
3644   return (fip);   3644   return (fip);
3645 }   3645 }
3646 }   3646 }
3647 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,   3647 TIFFField const   *_TIFFFindOrRegisterField(TIFF *tif , uint32 tag ,
3648                                             TIFFDataType dt )   3648                                             TIFFDataType dt )
3649 {   3649 {
3650   TIFFField const   *fld ;   3650   TIFFField const   *fld ;
3651   TIFFField *tmp ;   3651   TIFFField *tmp ;
3652   int tmp___0 ;   3652   int tmp___0 ;
3653     3653  
3654   {   3654   {
3655   fld = TIFFFindField(tif, tag, dt);   3655   fld = TIFFFindField(tif, tag, dt);
3656   if ((unsigned int )fld == (unsigned int )((void *)0)) {   3656   if ((unsigned int )fld == (unsigned int )((void *)0)) {
3657     tmp = _TIFFCreateAnonField(tif, tag, dt);   3657     tmp = _TIFFCreateAnonField(tif, tag, dt);
3658     fld = (TIFFField const   *)tmp;   3658     fld = (TIFFField const   *)tmp;
3659     tmp___0 = _TIFFMergeFields(tif, fld, (uint32 )1);   3659     tmp___0 = _TIFFMergeFields(tif, fld, (uint32 )1);
3660     if (tmp___0) {   3660     if (tmp___0) {
3661     3661  
3662     } else {   3662     } else {
3663       return ((TIFFField const   *)((void *)0));   3663       return ((TIFFField const   *)((void *)0));
3664     }   3664     }
3665   } else {   3665   } else {
3666     3666  
3667   }   3667   }
3668   return (fld);   3668   return (fld);
3669 }   3669 }
3670 }   3670 }
3671 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,   3671 TIFFField *_TIFFCreateAnonField(TIFF *tif , uint32 tag ,
3672                                 TIFFDataType field_type )   3672                                 TIFFDataType field_type )
3673 {   3673 {
3674   TIFFField *fld ;   3674   TIFFField *fld ;
3675   void *tmp ;   3675   void *tmp ;
3676   void *tmp___0 ;   3676   void *tmp___0 ;
3677     3677  
3678   {   3678   {
3679   tmp = _TIFFmalloc((tmsize_t )sizeof(TIFFField ));   3679   tmp = _TIFFmalloc((tmsize_t )sizeof(TIFFField ));
3680   fld = (TIFFField *)tmp;   3680   fld = (TIFFField *)tmp;
3681   if ((unsigned int )fld == (unsigned int )((void *)0)) {   3681   if ((unsigned int )fld == (unsigned int )((void *)0)) {
3682     return ((TIFFField *)((void *)0));   3682     return ((TIFFField *)((void *)0));
3683   } else {   3683   } else {
3684     3684  
3685   }   3685   }
3686   _TIFFmemset((void *)fld, 0, (tmsize_t )sizeof(TIFFField ));   3686   _TIFFmemset((void *)fld, 0, (tmsize_t )sizeof(TIFFField ));
3687   fld->field_tag = tag;   3687   fld->field_tag = tag;
3688   fld->field_readcount = (short)-3;   3688   fld->field_readcount = (short)-3;
3689   fld->field_writecount = (short)-3;   3689   fld->field_writecount = (short)-3;
3690   fld->field_type = field_type;   3690   fld->field_type = field_type;
3691   fld->reserved = (uint32 )0;   3691   fld->reserved = (uint32 )0;
3692   switch ((unsigned int )field_type) {   3692   switch ((unsigned int )field_type) {
3693   case 7U:   3693   case 7U:
3694   case 1U:   3694   case 1U:
3695   fld->set_field_type = (TIFFSetGetFieldType )40;   3695   fld->set_field_type = (TIFFSetGetFieldType )40;
3696   fld->get_field_type = (TIFFSetGetFieldType )40;   3696   fld->get_field_type = (TIFFSetGetFieldType )40;
3697   break;   3697   break;
3698   case 2U:   3698   case 2U:
3699   fld->set_field_type = (TIFFSetGetFieldType )39;   3699   fld->set_field_type = (TIFFSetGetFieldType )39;
3700   fld->get_field_type = (TIFFSetGetFieldType )39;   3700   fld->get_field_type = (TIFFSetGetFieldType )39;
3701   break;   3701   break;
3702   case 3U:   3702   case 3U:
3703   fld->set_field_type = (TIFFSetGetFieldType )42;   3703   fld->set_field_type = (TIFFSetGetFieldType )42;
3704   fld->get_field_type = (TIFFSetGetFieldType )42;   3704   fld->get_field_type = (TIFFSetGetFieldType )42;
3705   break;   3705   break;
3706   case 4U:   3706   case 4U:
3707   fld->set_field_type = (TIFFSetGetFieldType )44;   3707   fld->set_field_type = (TIFFSetGetFieldType )44;
3708   fld->get_field_type = (TIFFSetGetFieldType )44;   3708   fld->get_field_type = (TIFFSetGetFieldType )44;
3709   break;   3709   break;
3710   case 11U:   3710   case 11U:
3711   case 10U:   3711   case 10U:
3712   case 5U:   3712   case 5U:
3713   fld->set_field_type = (TIFFSetGetFieldType )48;   3713   fld->set_field_type = (TIFFSetGetFieldType )48;
3714   fld->get_field_type = (TIFFSetGetFieldType )48;   3714   fld->get_field_type = (TIFFSetGetFieldType )48;
3715   break;   3715   break;
3716   case 6U:   3716   case 6U:
3717   fld->set_field_type = (TIFFSetGetFieldType )41;   3717   fld->set_field_type = (TIFFSetGetFieldType )41;
3718   fld->get_field_type = (TIFFSetGetFieldType )41;   3718   fld->get_field_type = (TIFFSetGetFieldType )41;
3719   break;   3719   break;
3720   case 8U:   3720   case 8U:
3721   fld->set_field_type = (TIFFSetGetFieldType )43;   3721   fld->set_field_type = (TIFFSetGetFieldType )43;
3722   fld->get_field_type = (TIFFSetGetFieldType )43;   3722   fld->get_field_type = (TIFFSetGetFieldType )43;
3723   break;   3723   break;
3724   case 9U:   3724   case 9U:
3725   fld->set_field_type = (TIFFSetGetFieldType )45;   3725   fld->set_field_type = (TIFFSetGetFieldType )45;
3726   fld->get_field_type = (TIFFSetGetFieldType )45;   3726   fld->get_field_type = (TIFFSetGetFieldType )45;
3727   break;   3727   break;
3728   case 12U:   3728   case 12U:
3729   fld->set_field_type = (TIFFSetGetFieldType )49;   3729   fld->set_field_type = (TIFFSetGetFieldType )49;
3730   fld->get_field_type = (TIFFSetGetFieldType )49;   3730   fld->get_field_type = (TIFFSetGetFieldType )49;
3731   break;   3731   break;
3732   case 18U:   3732   case 18U:
3733   case 13U:   3733   case 13U:
3734   fld->set_field_type = (TIFFSetGetFieldType )50;   3734   fld->set_field_type = (TIFFSetGetFieldType )50;
3735   fld->get_field_type = (TIFFSetGetFieldType )50;   3735   fld->get_field_type = (TIFFSetGetFieldType )50;
3736   break;   3736   break;
3737   case 16U:   3737   case 16U:
3738   fld->set_field_type = (TIFFSetGetFieldType )46;   3738   fld->set_field_type = (TIFFSetGetFieldType )46;
3739   fld->get_field_type = (TIFFSetGetFieldType )46;   3739   fld->get_field_type = (TIFFSetGetFieldType )46;
3740   break;   3740   break;
3741   case 17U:   3741   case 17U:
3742   fld->set_field_type = (TIFFSetGetFieldType )47;   3742   fld->set_field_type = (TIFFSetGetFieldType )47;
3743   fld->get_field_type = (TIFFSetGetFieldType )47;   3743   fld->get_field_type = (TIFFSetGetFieldType )47;
3744   break;   3744   break;
3745   default:   3745   default:
3746   fld->set_field_type = (TIFFSetGetFieldType )0;   3746   fld->set_field_type = (TIFFSetGetFieldType )0;
3747   fld->get_field_type = (TIFFSetGetFieldType )0;   3747   fld->get_field_type = (TIFFSetGetFieldType )0;
3748   break;   3748   break;
3749   }   3749   }
3750   fld->field_bit = (unsigned short)65;   3750   fld->field_bit = (unsigned short)65;
3751   fld->field_oktochange = (unsigned char)1;   3751   fld->field_oktochange = (unsigned char)1;
3752   fld->field_passcount = (unsigned char)1;   3752   fld->field_passcount = (unsigned char)1;
3753   tmp___0 = _TIFFmalloc((tmsize_t )32);   3753   tmp___0 = _TIFFmalloc((tmsize_t )32);
3754   fld->field_name = (char *)tmp___0;   3754   fld->field_name = (char *)tmp___0;
3755   if ((unsigned int )fld->field_name == (unsigned int )((void *)0)) {   3755   if ((unsigned int )fld->field_name == (unsigned int )((void *)0)) {
3756     _TIFFfree((void *)fld);   3756     _TIFFfree((void *)fld);
3757     return ((TIFFField *)((void *)0));   3757     return ((TIFFField *)((void *)0));
3758   } else {   3758   } else {
3759     3759  
3760   }   3760   }
3761   fld->field_subfields = (TIFFFieldArray *)((void *)0);   3761   fld->field_subfields = (TIFFFieldArray *)((void *)0);
3762   sprintf((char */* __restrict  */)fld->field_name,   3762   sprintf((char */* __restrict  */)fld->field_name,
3763           (char const   */* __restrict  */)"Tag %d", (int )tag);   3763           (char const   */* __restrict  */)"Tag %d", (int )tag);
3764   return (fld);   3764   return (fld);
3765 }   3765 }
3766 }   3766 }
3767 static TIFFSetGetFieldType _TIFFSetGetType(TIFFDataType type , short count ,   3767 static TIFFSetGetFieldType _TIFFSetGetType(TIFFDataType type , short count ,
3768                                            unsigned char passcount )   3768                                            unsigned char passcount )
3769 {   3769 {
3770     3770  
3771     3771  
3772   {   3772   {
3773   if ((unsigned int )type == 2U) {   3773   if ((unsigned int )type == 2U) {
3774     if ((int )count == -1) {   3774     if ((int )count == -1) {
3775       if ((int )passcount == 0) {   3775       if ((int )passcount == 0) {
3776         return ((TIFFSetGetFieldType )1);   3776         return ((TIFFSetGetFieldType )1);
3777       } else {   3777       } else {
3778         goto _L___3;   3778         goto _L___3;
3779       }   3779       }
3780     } else {   3780     } else {
3781       goto _L___3;   3781       goto _L___3;
3782     }   3782     }
3783   } else   3783   } else
3784   _L___3: /* CIL Label */   3784   _L___3: /* CIL Label */
3785   _L___2: /* CIL Label */   3785   _L___2: /* CIL Label */
3786   if ((int )count == 1) {   3786   if ((int )count == 1) {
3787     if ((int )passcount == 0) {   3787     if ((int )passcount == 0) {
3788       switch ((unsigned int )type) {   3788       switch ((unsigned int )type) {
3789       case 7U:   3789       case 7U:
3790       case 1U:   3790       case 1U:
3791       return ((TIFFSetGetFieldType )2);   3791       return ((TIFFSetGetFieldType )2);
3792       case 2U:   3792       case 2U:
3793       return ((TIFFSetGetFieldType )1);   3793       return ((TIFFSetGetFieldType )1);
3794       case 3U:   3794       case 3U:
3795       return ((TIFFSetGetFieldType )4);   3795       return ((TIFFSetGetFieldType )4);
3796       case 4U:   3796       case 4U:
3797       return ((TIFFSetGetFieldType )6);   3797       return ((TIFFSetGetFieldType )6);
3798       case 11U:   3798       case 11U:
3799       case 10U:   3799       case 10U:
3800       case 5U:   3800       case 5U:
3801       return ((TIFFSetGetFieldType )10);   3801       return ((TIFFSetGetFieldType )10);
3802       case 6U:   3802       case 6U:
3803       return ((TIFFSetGetFieldType )3);   3803       return ((TIFFSetGetFieldType )3);
3804       case 8U:   3804       case 8U:
3805       return ((TIFFSetGetFieldType )5);   3805       return ((TIFFSetGetFieldType )5);
3806       case 9U:   3806       case 9U:
3807       return ((TIFFSetGetFieldType )7);   3807       return ((TIFFSetGetFieldType )7);
3808       case 12U:   3808       case 12U:
3809       return ((TIFFSetGetFieldType )11);   3809       return ((TIFFSetGetFieldType )11);
3810       case 18U:   3810       case 18U:
3811       case 13U:   3811       case 13U:
3812       return ((TIFFSetGetFieldType )12);   3812       return ((TIFFSetGetFieldType )12);
3813       case 16U:   3813       case 16U:
3814       return ((TIFFSetGetFieldType )8);   3814       return ((TIFFSetGetFieldType )8);
3815       case 17U:   3815       case 17U:
3816       return ((TIFFSetGetFieldType )9);   3816       return ((TIFFSetGetFieldType )9);
3817       default:   3817       default:
3818       return ((TIFFSetGetFieldType )0);   3818       return ((TIFFSetGetFieldType )0);
3819       }   3819       }
3820     } else {   3820     } else {
3821       goto _L___1;   3821       goto _L___1;
3822     }   3822     }
3823   } else   3823   } else
3824   _L___1: /* CIL Label */   3824   _L___1: /* CIL Label */
3825   if ((int )count >= 1) {   3825   if ((int )count >= 1) {
3826     if ((int )passcount == 0) {   3826     if ((int )passcount == 0) {
3827       switch ((unsigned int )type) {   3827       switch ((unsigned int )type) {
3828       case 7U:   3828       case 7U:
3829       case 1U:   3829       case 1U:
3830       return ((TIFFSetGetFieldType )16);   3830       return ((TIFFSetGetFieldType )16);
3831       case 2U:   3831       case 2U:
3832       return ((TIFFSetGetFieldType )15);   3832       return ((TIFFSetGetFieldType )15);
3833       case 3U:   3833       case 3U:
3834       return ((TIFFSetGetFieldType )18);   3834       return ((TIFFSetGetFieldType )18);
3835       case 4U:   3835       case 4U:
3836       return ((TIFFSetGetFieldType )20);   3836       return ((TIFFSetGetFieldType )20);
3837       case 11U:   3837       case 11U:
3838       case 10U:   3838       case 10U:
3839       case 5U:   3839       case 5U:
3840       return ((TIFFSetGetFieldType )24);   3840       return ((TIFFSetGetFieldType )24);
3841       case 6U:   3841       case 6U:
3842       return ((TIFFSetGetFieldType )17);   3842       return ((TIFFSetGetFieldType )17);
3843       case 8U:   3843       case 8U:
3844       return ((TIFFSetGetFieldType )19);   3844       return ((TIFFSetGetFieldType )19);
3845       case 9U:   3845       case 9U:
3846       return ((TIFFSetGetFieldType )21);   3846       return ((TIFFSetGetFieldType )21);
3847       case 12U:   3847       case 12U:
3848       return ((TIFFSetGetFieldType )25);   3848       return ((TIFFSetGetFieldType )25);
3849       case 18U:   3849       case 18U:
3850       case 13U:   3850       case 13U:
3851       return ((TIFFSetGetFieldType )26);   3851       return ((TIFFSetGetFieldType )26);
3852       case 16U:   3852       case 16U:
3853       return ((TIFFSetGetFieldType )22);   3853       return ((TIFFSetGetFieldType )22);
3854       case 17U:   3854       case 17U:
3855       return ((TIFFSetGetFieldType )23);   3855       return ((TIFFSetGetFieldType )23);
3856       default:   3856       default:
3857       return ((TIFFSetGetFieldType )0);   3857       return ((TIFFSetGetFieldType )0);
3858       }   3858       }
3859     } else {   3859     } else {
3860       goto _L___0;   3860       goto _L___0;
3861     }   3861     }
3862   } else   3862   } else
3863   _L___0: /* CIL Label */   3863   _L___0: /* CIL Label */
3864   if ((int )count == -1) {   3864   if ((int )count == -1) {
3865     if ((int )passcount == 1) {   3865     if ((int )passcount == 1) {
3866       switch ((unsigned int )type) {   3866       switch ((unsigned int )type) {
3867       case 7U:   3867       case 7U:
3868       case 1U:   3868       case 1U:
3869       return ((TIFFSetGetFieldType )28);   3869       return ((TIFFSetGetFieldType )28);
3870       case 2U:   3870       case 2U:
3871       return ((TIFFSetGetFieldType )27);   3871       return ((TIFFSetGetFieldType )27);
3872       case 3U:   3872       case 3U:
3873       return ((TIFFSetGetFieldType )30);   3873       return ((TIFFSetGetFieldType )30);
3874       case 4U:   3874       case 4U:
3875       return ((TIFFSetGetFieldType )32);   3875       return ((TIFFSetGetFieldType )32);
3876       case 11U:   3876       case 11U:
3877       case 10U:   3877       case 10U:
3878       case 5U:   3878       case 5U:
3879       return ((TIFFSetGetFieldType )36);   3879       return ((TIFFSetGetFieldType )36);
3880       case 6U:   3880       case 6U:
3881       return ((TIFFSetGetFieldType )29);   3881       return ((TIFFSetGetFieldType )29);
3882       case 8U:   3882       case 8U:
3883       return ((TIFFSetGetFieldType )31);   3883       return ((TIFFSetGetFieldType )31);
3884       case 9U:   3884       case 9U:
3885       return ((TIFFSetGetFieldType )33);   3885       return ((TIFFSetGetFieldType )33);
3886       case 12U:   3886       case 12U:
3887       return ((TIFFSetGetFieldType )37);   3887       return ((TIFFSetGetFieldType )37);
3888       case 18U:   3888       case 18U:
3889       case 13U:   3889       case 13U:
3890       return ((TIFFSetGetFieldType )38);   3890       return ((TIFFSetGetFieldType )38);
3891       case 16U:   3891       case 16U:
3892       return ((TIFFSetGetFieldType )34);   3892       return ((TIFFSetGetFieldType )34);
3893       case 17U:   3893       case 17U:
3894       return ((TIFFSetGetFieldType )35);   3894       return ((TIFFSetGetFieldType )35);
3895       default:   3895       default:
3896       return ((TIFFSetGetFieldType )0);   3896       return ((TIFFSetGetFieldType )0);
3897       }   3897       }
3898     } else {   3898     } else {
3899       goto _L;   3899       goto _L;
3900     }   3900     }
3901   } else   3901   } else
3902   _L: /* CIL Label */   3902   _L: /* CIL Label */
3903   if ((int )count == -3) {   3903   if ((int )count == -3) {
3904     if ((int )passcount == 1) {   3904     if ((int )passcount == 1) {
3905       switch ((unsigned int )type) {   3905       switch ((unsigned int )type) {
3906       case 7U:   3906       case 7U:
3907       case 1U:   3907       case 1U:
3908       return ((TIFFSetGetFieldType )40);   3908       return ((TIFFSetGetFieldType )40);
3909       case 2U:   3909       case 2U:
3910       return ((TIFFSetGetFieldType )39);   3910       return ((TIFFSetGetFieldType )39);
3911       case 3U:   3911       case 3U:
3912       return ((TIFFSetGetFieldType )42);   3912       return ((TIFFSetGetFieldType )42);
3913       case 4U:   3913       case 4U:
3914       return ((TIFFSetGetFieldType )44);   3914       return ((TIFFSetGetFieldType )44);
3915       case 11U:   3915       case 11U:
3916       case 10U:   3916       case 10U:
3917       case 5U:   3917       case 5U:
3918       return ((TIFFSetGetFieldType )48);   3918       return ((TIFFSetGetFieldType )48);
3919       case 6U:   3919       case 6U:
3920       return ((TIFFSetGetFieldType )41);   3920       return ((TIFFSetGetFieldType )41);
3921       case 8U:   3921       case 8U:
3922       return ((TIFFSetGetFieldType )43);   3922       return ((TIFFSetGetFieldType )43);
3923       case 9U:   3923       case 9U:
3924       return ((TIFFSetGetFieldType )45);   3924       return ((TIFFSetGetFieldType )45);
3925       case 12U:   3925       case 12U:
3926       return ((TIFFSetGetFieldType )49);   3926       return ((TIFFSetGetFieldType )49);
3927       case 18U:   3927       case 18U:
3928       case 13U:   3928       case 13U:
3929       return ((TIFFSetGetFieldType )50);   3929       return ((TIFFSetGetFieldType )50);
3930       case 16U:   3930       case 16U:
3931       return ((TIFFSetGetFieldType )46);   3931       return ((TIFFSetGetFieldType )46);
3932       case 17U:   3932       case 17U:
3933       return ((TIFFSetGetFieldType )47);   3933       return ((TIFFSetGetFieldType )47);
3934       default:   3934       default:
3935       return ((TIFFSetGetFieldType )0);   3935       return ((TIFFSetGetFieldType )0);
3936       }   3936       }
3937     } else {   3937     } else {
3938     3938  
3939     }   3939     }
3940   } else {   3940   } else {
3941     3941  
3942   }   3942   }
3943   return ((TIFFSetGetFieldType )0);   3943   return ((TIFFSetGetFieldType )0);
3944 }   3944 }
3945 }   3945 }
3946 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n )   3946 int TIFFMergeFieldInfo(TIFF *tif , TIFFFieldInfo const   *info , uint32 n )
3947 {   3947 {
3948   char module[19] ;   3948   char module[19] ;
3949   char reason[17] ;   3949   char reason[17] ;
3950   TIFFField *tp ;   3950   TIFFField *tp ;
3951   uint32 i ;   3951   uint32 i ;
3952   uint32 nfields ;   3952   uint32 nfields ;
3953   void *tmp ;   3953   void *tmp ;
3954   void *tmp___0 ;   3954   void *tmp___0 ;
3955   uint32 tmp___1 ;   3955   uint32 tmp___1 ;
3956   void *tmp___2 ;   3956   void *tmp___2 ;
3957   int tmp___3 ;   3957   int tmp___3 ;
3958     3958  
3959   {   3959   {
3960   module[0] = (char )'T';   3960   module[0] = (char )'T';
3961   module[1] = (char )'I';   3961   module[1] = (char )'I';
3962   module[2] = (char )'F';   3962   module[2] = (char )'F';
3963   module[3] = (char )'F';   3963   module[3] = (char )'F';
3964   module[4] = (char )'M';   3964   module[4] = (char )'M';
3965   module[5] = (char )'e';   3965   module[5] = (char )'e';
3966   module[6] = (char )'r';   3966   module[6] = (char )'r';
3967   module[7] = (char )'g';   3967   module[7] = (char )'g';
3968   module[8] = (char )'e';   3968   module[8] = (char )'e';
3969   module[9] = (char )'F';   3969   module[9] = (char )'F';
3970   module[10] = (char )'i';   3970   module[10] = (char )'i';
3971   module[11] = (char )'e';   3971   module[11] = (char )'e';
3972   module[12] = (char )'l';   3972   module[12] = (char )'l';
3973   module[13] = (char )'d';   3973   module[13] = (char )'d';
3974   module[14] = (char )'I';   3974   module[14] = (char )'I';
3975   module[15] = (char )'n';   3975   module[15] = (char )'n';
3976   module[16] = (char )'f';   3976   module[16] = (char )'f';
3977   module[17] = (char )'o';   3977   module[17] = (char )'o';
3978   module[18] = (char )'\000';   3978   module[18] = (char )'\000';
3979   reason[0] = (char )'f';   3979   reason[0] = (char )'f';
3980   reason[1] = (char )'o';   3980   reason[1] = (char )'o';
3981   reason[2] = (char )'r';   3981   reason[2] = (char )'r';
3982   reason[3] = (char )' ';   3982   reason[3] = (char )' ';
3983   reason[4] = (char )'f';   3983   reason[4] = (char )'f';
3984   reason[5] = (char )'i';   3984   reason[5] = (char )'i';
3985   reason[6] = (char )'e';   3985   reason[6] = (char )'e';
3986   reason[7] = (char )'l';   3986   reason[7] = (char )'l';
3987   reason[8] = (char )'d';   3987   reason[8] = (char )'d';
3988   reason[9] = (char )'s';   3988   reason[9] = (char )'s';
3989   reason[10] = (char )' ';   3989   reason[10] = (char )' ';
3990   reason[11] = (char )'a';   3990   reason[11] = (char )'a';
3991   reason[12] = (char )'r';   3991   reason[12] = (char )'r';
3992   reason[13] = (char )'r';   3992   reason[13] = (char )'r';
3993   reason[14] = (char )'a';   3993   reason[14] = (char )'a';
3994   reason[15] = (char )'y';   3994   reason[15] = (char )'y';
3995   reason[16] = (char )'\000';   3995   reason[16] = (char )'\000';
3996   if (tif->tif_nfieldscompat > 0U) {   3996   if (tif->tif_nfieldscompat > 0U) {
3997     tmp = _TIFFCheckRealloc(tif, (void *)tif->tif_fieldscompat,   3997     tmp = _TIFFCheckRealloc(tif, (void *)tif->tif_fieldscompat,
3998                             (tmsize_t )(tif->tif_nfieldscompat + 1U),   3998                             (tmsize_t )(tif->tif_nfieldscompat + 1U),
3999                             (tmsize_t )sizeof(TIFFFieldArray ),   3999                             (tmsize_t )sizeof(TIFFFieldArray ),
4000                             (char const   *)(reason));   4000                             (char const   *)(reason));
4001     tif->tif_fieldscompat = (TIFFFieldArray *)tmp;   4001     tif->tif_fieldscompat = (TIFFFieldArray *)tmp;
4002   } else {   4002   } else {
4003     tmp___0 = _TIFFCheckMalloc(tif, (tmsize_t )1,   4003     tmp___0 = _TIFFCheckMalloc(tif, (tmsize_t )1,
4004                                (tmsize_t )sizeof(TIFFFieldArray ),   4004                                (tmsize_t )sizeof(TIFFFieldArray ),
4005                                (char const   *)(reason));   4005                                (char const   *)(reason));
4006     tif->tif_fieldscompat = (TIFFFieldArray *)tmp___0;   4006     tif->tif_fieldscompat = (TIFFFieldArray *)tmp___0;
4007   }   4007   }
4008   if (! tif->tif_fieldscompat) {   4008   if (! tif->tif_fieldscompat) {
4009     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   4009     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
4010                  "Failed to allocate fields array");   4010                  "Failed to allocate fields array");
4011     return (-1);   4011     return (-1);
4012   } else {   4012   } else {
4013     4013  
4014   }   4014   }
4015   tmp___1 = tif->tif_nfieldscompat;   4015   tmp___1 = tif->tif_nfieldscompat;
4016   (tif->tif_nfieldscompat) ++;   4016   (tif->tif_nfieldscompat) ++;
4017   nfields = tmp___1;   4017   nfields = tmp___1;
4018   (tif->tif_fieldscompat + nfields)->type = (TIFFFieldArrayType )2;   4018   (tif->tif_fieldscompat + nfields)->type = (TIFFFieldArrayType )2;
4019   (tif->tif_fieldscompat + nfields)->allocated_size = n;   4019   (tif->tif_fieldscompat + nfields)->allocated_size = n;
4020   (tif->tif_fieldscompat + nfields)->count = n;   4020   (tif->tif_fieldscompat + nfields)->count = n;
4021   tmp___2 = _TIFFCheckMalloc(tif, (tmsize_t )n, (tmsize_t )sizeof(TIFFField ),   4021   tmp___2 = _TIFFCheckMalloc(tif, (tmsize_t )n, (tmsize_t )sizeof(TIFFField ),
4022                              (char const   *)(reason));   4022                              (char const   *)(reason));
4023   (tif->tif_fieldscompat + nfields)->fields = (TIFFField *)tmp___2;   4023   (tif->tif_fieldscompat + nfields)->fields = (TIFFField *)tmp___2;
4024   if (! (tif->tif_fieldscompat + nfields)->fields) {   4024   if (! (tif->tif_fieldscompat + nfields)->fields) {
4025     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   4025     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
4026                  "Failed to allocate fields array");   4026                  "Failed to allocate fields array");
4027     return (-1);   4027     return (-1);
4028   } else {   4028   } else {
4029     4029  
4030   }   4030   }
4031   tp = (tif->tif_fieldscompat + nfields)->fields;   4031   tp = (tif->tif_fieldscompat + nfields)->fields;
4032   i = (uint32 )0;   4032   i = (uint32 )0;
4033   while (i < n) {   4033   while (i < n) {
4034     tp->field_tag = (uint32 )(info + i)->field_tag;   4034     tp->field_tag = (uint32 )(info + i)->field_tag;
4035     tp->field_readcount = (short )(info + i)->field_readcount;   4035     tp->field_readcount = (short )(info + i)->field_readcount;
4036     tp->field_writecount = (short )(info + i)->field_writecount;   4036     tp->field_writecount = (short )(info + i)->field_writecount;
4037     tp->field_type = (TIFFDataType )(info + i)->field_type;   4037     tp->field_type = (TIFFDataType )(info + i)->field_type;
4038     tp->reserved = (uint32 )0;   4038     tp->reserved = (uint32 )0;
4039     tp->set_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,   4039     tp->set_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,
4040                                          (short )(info + i)->field_readcount,   4040                                          (short )(info + i)->field_readcount,
4041                                          (unsigned char )(info + i)->field_passcount);   4041                                          (unsigned char )(info + i)->field_passcount);
4042     tp->get_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,   4042     tp->get_field_type = _TIFFSetGetType((TIFFDataType )(info + i)->field_type,
4043                                          (short )(info + i)->field_readcount,   4043                                          (short )(info + i)->field_readcount,
4044                                          (unsigned char )(info + i)->field_passcount);   4044                                          (unsigned char )(info + i)->field_passcount);
4045     tp->field_bit = (unsigned short )(info + i)->field_bit;   4045     tp->field_bit = (unsigned short )(info + i)->field_bit;
4046     tp->field_oktochange = (unsigned char )(info + i)->field_oktochange;   4046     tp->field_oktochange = (unsigned char )(info + i)->field_oktochange;
4047     tp->field_passcount = (unsigned char )(info + i)->field_passcount;   4047     tp->field_passcount = (unsigned char )(info + i)->field_passcount;
4048     tp->field_name = (char *)(info + i)->field_name;   4048     tp->field_name = (char *)(info + i)->field_name;
4049     tp->field_subfields = (TIFFFieldArray *)((void *)0);   4049     tp->field_subfields = (TIFFFieldArray *)((void *)0);
4050     tp ++;   4050     tp ++;
4051     i ++;   4051     i ++;
4052   }   4052   }
4053   tmp___3 = _TIFFMergeFields(tif,   4053   tmp___3 = _TIFFMergeFields(tif,
4054                              (TIFFField const   *)(tif->tif_fieldscompat + nfields)->fields,   4054                              (TIFFField const   *)(tif->tif_fieldscompat + nfields)->fields,
4055                              n);   4055                              n);
4056   if (tmp___3) {   4056   if (tmp___3) {
4057     4057  
4058   } else {   4058   } else {
4059     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),   4059     TIFFErrorExt(tif->tif_clientdata, (char const   *)(module),
4060                  "Setting up field info failed");   4060                  "Setting up field info failed");
4061     return (-1);   4061     return (-1);
4062   }   4062   }
4063   return (0);   4063   return (0);
4064 }   4064 }
4065 }   4065 }
4066 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,   4066 TIFFFieldInfo const   *TIFFFindFieldInfoByName(TIFF *tif ,
4067                                                char const   *field_name ,   4067                                                char const   *field_name ,
4068                                                TIFFDataType dt )   4068                                                TIFFDataType dt )
4069 {   4069 {
4070     4070  
4071     4071  
4072   {   4072   {
4073   return ((TIFFFieldInfo const   *)((void *)0));   4073   return ((TIFFFieldInfo const   *)((void *)0));
4074 }   4074 }
4075 }   4075 }
4076 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,   4076 TIFFFieldInfo const   *TIFFFindFieldInfo(TIFF *tif , uint32 tag ,
4077                                          TIFFDataType dt )   4077                                          TIFFDataType dt )
4078 {   4078 {
4079     4079  
4080     4080  
4081   {   4081   {
4082   return ((TIFFFieldInfo const   *)((void *)0));   4082   return ((TIFFFieldInfo const   *)((void *)0));
4083 }   4083 }
4084 }   4084 }